-
How do you add objects to hashtable
A) With Add methodB) With insert MethodC) With = operator
-
How do you refer parent classes in C#
A) SuperB) ThisC) Base
-
How to implement multiple inheritence in C#
A) Using InterfaceB) Using Abstract classC) Using DelegatesD) Using Events
-
How can you sort the elements of the array in descending order
A) Sort methodsB) Reverse methodsC) By calling Sort and then Reverse methodsD) Can’t sort in descending
-
Where we can use DLL made in C#.Net
We can use the .net DLLs only in the applications supporting .NET.
-
-
-
-
-
-
Abstract classes and virtual methods
Abstract classes can be overridden by virtual methods (true, false)
-
Variable Declaration and Assignment
What is difference between these two statement? if variable is declared and assign value in following two waysString sValue = (String)GridView1.DataKeys[GridView1.SelectedIndex].Value;String sValue = GridView1.DataKeys[GridView1.SelectedIndex].Value.ToString();
-
Explicit Implimentation
What do you mean by Explicit Interface Implimentation? What's Interface Mapping?
-
Advantage of avl tree over binary search tree.
What is advantage using avl tree instead of using binary search tree ?
-
Exception Handling
what is the necessary for "throws" and "throw" in exception handling??
Even Though the exception has been thrown automatically and being handled by try and catch block..
-
If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?
Yes, just place a colon, and then keyword base (parameter list to invoke the appropriate constructor) in the overloaded constructor definition inside the inherited class.
-
String is an
Skill/Topic: BeginnerA) object typeB) reference type
-
The base class Arrray belongs to the mamespace
Skill/Topic: IntermediateA) GlobalTypeB) ArraysC) System
-
There can me more than 1 Main() functions in a C# program
Skill/Topic: IntermediateA) YesB) NoExplanation: While compiling we can specify which Main() function to start in
-
C# Interview Questions
Ans