C Sharp Interview Questions
Questions Answers Views Company eMail

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

Idea, Microsoft, Wipro,

12 49046

How can you prevent classes to be inherited?

Microsoft, Satyam,

10 11004

What is difference between value and reference types?

Accenture,

5 7569

Is array reference type / value type?

Accenture,

15 16937

Is string reference type / value type?

Accenture, Microsoft, Siemens,

56 64440

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,

1812

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

1474

What is the Difference between read only and constant variables?

SilverKey,

14 26706

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

Wipro,

7 9670

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 6951

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

Kanbay,

5 9150

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

Kanbay,

4 6294

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

Hawk Eye, IndiaTimes, Kanbay,

10 14658

what is application domain?

Kanbay,

4 12313

What are STA And MTA in threading?

Kanbay,

4 13742


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

Give an example of removing an element from the queue?

471


What is autopostback in c#?

479


What is difference between managed and unmanaged code?

495


Difference between Value type & reference types ? and give the example in .Net?

521


What is serialization in dot net?

482






List the difference between interface and abstract class?

470


What are regular expressions? Search a string using regular expressions?

517


What are collection classes?

485


What does break do in loop?

492


How do I register my code for use by classic com clients?

505


what are pointer types in c#

552


What is the value which is accepted by all data types ?

520


What are the properties of string?

489


Explain About a class access specifiers and method access specifiers.

539


Why is it efficient to use System.string under System.Text.StringBuilder ?

525