C Sharp Interview Questions
Questions Answers Views Company eMail

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

Wipro, Idea, Microsoft,

12 42345

How can you prevent classes to be inherited?

Satyam, Microsoft,

10 7179

What is difference between value and reference types?

Accenture,

5 4919




Is array reference type / value type?

Accenture,

15 11191

Is string reference type / value type?

Microsoft, Accenture, Siemens,

56 44786

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(); } } }

WinsIndia, ABC,

1155

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

822

What is the Difference between read only and constant variables?

SilverKey,

14 20898




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

Wipro,

7 6986

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 5055

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

Kanbay,

5 7012

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

Kanbay,

4 4483

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

Kanbay, Hawk Eye, IndiaTimes,

10 11191

what is application domain?

Kanbay,

4 10438

What are STA And MTA in threading?

Kanbay,

4 11620


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

In gridview in editmode if we want to display information in one combobox based on

1007


What exactly happens when we debug and build the program?

1450


I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.

807


how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge

985


What framework is used for performance testing/load testing?

810






Hi Friends, I am going through Siemens Interview Procedure from last 1+1/2 months. I went through 1 written + 2 Technical + 1 Managerial Round process after which I got call from HR informing that "you are selected and we would like to meet you for HR round". HR round was very nominal compared to MR. HR Round last for hardly 5 mins. They told me that you will get the final result on Friday. Still I have not received any feedback from them. Please help!!!

14433


how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.

639


what is collections in .net? why we use?

956


Helo , Help Me , Help Me About : C# Windows Application - Network How To Manage IP Client's Accessiblity To The Internet Share concise Substitute , Minor ISA Server

723


i want o/p 011242110 in c# code.

896


how to insert the data from the grid view to database table though button click.pls send the answer to mail id suri1319@gmail.com

848


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

822


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

841


Write a console application and implement the ternary operator to decide whether the age a user entered after being prompted is allowed to vote or not(given that only citizens between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical input.

1251


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(); } } }

1155