C Sharp Interview Questions
Questions Answers Views Company eMail

can we assign null value to value type in c#?

Idea, Microsoft, Wipro,

12 50551

How can you prevent classes to be inherited?

Microsoft, Satyam,

10 12182

What is difference between value and reference types?

Accenture,

5 8335

Is array reference type / value type?

Accenture,

15 18573

Is string reference type / value type?

Accenture, Microsoft, Siemens,

56 71423

In a C# class we have a SortedList member m_addinProjects we want to provide an iterator to allow the consumer of this class access to the items in the collection. Please provide an iterator method for the AnalyzeAddinsDLL class below and an example of how it would be used. namespace AnalyzeAddinsDLL { public class AllAddInProjects { private SortedList m_addinProjects; public AllAddInProjects() { m_addinProjects = new SortedList(); } } }

ABC, WinsIndia,

2062

Where test director stores its data ? Database ,Local file etc...? I need to read this data from Visual Studio 2005 c# client. Regards

1669

What is the Difference between read only and constant variables?

SilverKey,

14 28557

Can we have a non static member function in a base class to be override in derived with static modifier?

Wipro,

7 10705

If a class is having 4 variables namely type double,type integer,type string,type decimal. If we create an instance of that class those variables which gets into this instance are value types or reference types?

Kanbay,

4 7549

what are value types and reference types? where they are stored?

Kanbay,

5 9954

Which type of variables are under the control of garbage collector?

Kanbay,

4 6847

what are delegates? How you used then in your project?

Hawk Eye, IndiaTimes, Kanbay,

10 15937

what is application domain?

Kanbay,

4 12969

What are STA And MTA in threading?

Kanbay,

4 14290


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

What is the difference between asp net and c#?

695


Is c# an open source language?

750


What is the difference between CONST and READONLY?

763


Explain about Destructor method?

738


What does return do in for loop?

684


If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?

741


What is array class in c#?

631


What is the difference between structure and class in c#?

688


What is base class in c#?

768


What does static mean in c sharp?

803


What is a must for multitasking

760


What is the default value of datetime in c#?

707


What is arraylist c#?

646


Explain About Iunknown interface Queue

729


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

751