C Sharp Interview Questions
Questions Answers Views Company eMail

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

Idea, Microsoft, Wipro,

12 48879

How can you prevent classes to be inherited?

Microsoft, Satyam,

10 10867

What is difference between value and reference types?

Accenture,

5 7477

Is array reference type / value type?

Accenture,

15 16743

Is string reference type / value type?

Accenture, Microsoft, Siemens,

56 63725

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,

1797

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

1451

What is the Difference between read only and constant variables?

SilverKey,

14 26510

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

Wipro,

7 9567

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 6890

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

Kanbay,

5 9073

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

Kanbay,

4 6203

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

Hawk Eye, IndiaTimes, Kanbay,

10 14543

what is application domain?

Kanbay,

4 12247

What are STA And MTA in threading?

Kanbay,

4 13660


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

Can struct inherit from class c#?

512


How to force my .net app to run as administrator on windows 7?

487


How Global.asax is used ?

592


What is the use of 'as' Keyword in C# ?

551


Why do we use yield in c#?

481






What is string method in c#?

473


Can a string be null c#?

476


What are async and await?

517


What is javascriptserializer c#?

480


What do you mean by thread safe in c#?

453


What is the xml document structure?

447


What is the difference between select and selectmany?

417


What is garbage collection? How to force garbage collector to run?

482


What standard types does c# use?

481


Can you store strings in arrays?

518