Interview Questions
Ajax
ASP.NET
EJB
PHP
C#
JMS
JDBC
XML
Struts
Testing
Hibernate
WebServices
Spring
Tibco
Data Structures
C# Interview Questions
If a method is marked as protected internal how can it be accessed?
How can I make sure my C# classes will interoperate with other .NET languages?
Does C# support a variable number of arguments?
When should I throw an exception?
What types of object can I throw as exceptions?
Can I use exceptions in C#?
Should I make my destructor virtual?
Can I call a virtual method from a constructor/destructor?
How do I declare a pure virtual function in C#?
Are all methods virtual in C#?
Are C# destructors the same as C++ destructors?
Are C# constructors the same as C++ constructors?
Structs are largely redundant in C++. Why does C# have them?
What are the fundamental differences between value types and reference types?
What is boxing?
What is the use of fixed statement?
What is the order of destructors called in a polymorphism hierarchy?
How can you sort the elements of the array in descending order?
Is it possible to Override Private Virtual methods.
What is the difference between shadow and override?
What is the syntax to inherit from a class in C#?
Describe the accessibility modifier “protected internal”.
What is a satellite Assembly?
How to declares a two-dimensional array in C#?
What does it meant to say “the canonical” form of XML?
What is the difference between Java and .NET garbage collectors?
Why do one get a syntax error when trying to declare a variable called checked?
When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram) ?
What does the keyword virtual mean in the method definition ?
What’s the top .NET class that everything is derived from ?
How’s method overriding different from overloading ?
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write
When you inherit a protected class-level variable, who is it available to
Does C# support multiple inheritance ?
What’s the implicit name of the parameter that gets passed into the class’ set method ?
If A.equals(B) is true then A.getHashcode & B.getHashCode must always return same hash code.
What is an indexer in C#?
Why can’t you specify the accessibility modifier for methods inside the interface ?
How’s the DLL Hell problem solved in .NET ?
What’s a delegate ?
What’s the C# equivalent of C++ catch (…), which was a catch-all statement for any possible exception ?
Will finally block get executed if the exception had not occurred ?
What’s class SortedList underneath ?
What’s the .NET datatype that allows the retrieval of data by a unique key ?
What’s the difference between an interface and abstract class ?
What are the ways to deploy an assembly ?
What’s the implicit name of the parameter that gets passed into the class’ set method ?
What does Dispose method do with the connection object ?
What does the parameter Initial Catalog define inside Connection String ?
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
What’s the data provider name to connect to Access database ?
What connections does Microsoft SQL Server support ?
Why would you use untrusted verificaion ?
What’s the role of the DataReader class in ADO.NET connections
What’s the difference between the Debug class and Trace class ?
What does the This window show in the debugger ?
What’s the difference between and XML documentation tag ?
How do you generate documentation from the C# file commented properly with a command-line compiler ?
What’s the difference between // comments, /* */ comments and /// comments ?
What namespaces are necessary to create a localized application ?
What& rsquo;s a satellite assembly ?
What’s the difference between System.String and System.StringBuilder classes ?
What&r squo;s a satellite assembly ?
How’s the DLL Hell problem solved in .NET ?
What&r squo;s a multicast delegate ?
What’s a delegate ?
What’s the C# equivalent of C++ catch (…), which was a catch-all statement for any possible exception ?
What’s the difference between the System.Array.CopyTo() and System.Array.Clone() ?
What’s the advantage of using System.Text.StringBuilder over System.String ?
What’s the difference between an interface and abstract class ?
Why can’t you specify the accessibility modifier for methods inside the interface ?
What&rsq uo;s an interface class ?
What&rsqu o;s an abstract class ?
How’s method overriding different from overloading ?
What’s the top .NET class that everything is derived from ?