-
Image in GridView
How to retrive an image from database and display it in grideview control?
-
Retrive Data in Tree View
How to retrive data in tree view from database with child node?
-
Postback
How does Postback work?
-
Transfer Data in Windows Forms
How to transfer the data from one form to another form?
-
What is CLR?
Skill/Topic: BeginnerA) Common Library ReorganizationB) Csharp Language RespecificationC) Csharp Library RosterD) Common Language Runtime
-
Which of the following is an explusive feature of C#?
Skill/Topic: IntermediateA) Object OrientedB) ILC) XML documentation
-
-
-
How do you load assembly to running process
A) Assembly.Load( )B) Assembly.LoadFrom( )C) Both
-
Garbage Collector Generations Algorithm
Explain the Generations Algorithm used in the context of Garbage Collector
-
Data Structures
Assume you have large set of data, say more than 100,000 elements. Each data element has a unique string associated with it. 1. What data structure has the optimal algorithmic access time to any element when the only thing you know about the element is the unique string associated with it? 2. What is the O() time for access to any element using this data structure? 3. What data structures would you...
-
In the following cases which is not function overloading
A) Same parameter types but different return valuesB) Varying number of parametersC) Different parameters types but different return valuesD) Different parameters type but same return values
-
Inheritance
What is the importance of inheritance in c# and why i used?
-
The 'finally' keyword is supported in C#?
Skill/Topic: IntermediateA) YesB) NoExplanation: Along with the try...catch...blocks
-
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
-
How do I do implement a trace and assert?
Use a conditional attribute on the method, as shown below: class Debug{[conditional("TRACE")]public void Trace(string s){Console.WriteLine(s);}}class MyClass{public static void Main(){Debug.Trace("hello");}}In this example, the call to Debug.Trace() is made only if the preprocessor symbol TRACE is defined at the call site. You can define preprocessor symbols on the command line by using the /D switch....
-
What is CLS?
Skill/Topic: BeginnerA) Common Language SpecificationB) Common Library SystemC) Csharp Language SpecificationD) Code Location Specification
-
Reference types are stored in :
Skill/Topic: AdvancedA) the HeapB) the stackC) the hard-disk
-
What is automatic memory management in .NET known as:
Skill/Topic: AdvancedA) Managed CodeB) Smart CachingC) Garbage Collection
-
Can we use pointers in C#?
Skill/Topic: AdvancedA) YesB) NoExplanation: Pointers can be used if required, but it will be unsafe code.
C# Interview Questions
Ans