C Sharp Interview Questions
Questions Answers Views Company eMail

what is unit testing

2 2541

class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } class Employee { stat9c Method1() static Method2(ref a) stat9c Method3(out x) } what will happen & why?

2 2098

Method1() { int a=0, b=0, c=0; Monitor.Enter(this) c = 12; b = 3; a = c/b Moniter.Exit(this) } Method1() { int a=0, b=0, c=0; c = 12; b = 3; lock(this){ a = c/b } } Choose correct answer. a. Upon completion, Method1 and Method2 release the lock b. Upon Comletion, Method1 release the lcok and Method2 not. c. Upon Completion, Method2 release the lock and Method1 not. d. Upon Completion, neither Method1 or Method to release the lock.

1 1976




interface a { Method1() Method2() } class b: a { override Method1() override Method2() } what will happen & why?

5 4323

what is namespace?

6 4476

What are the different generaions of Garbage Collection and how do they work

4 4182

what is diffrence between protected ,internal and protected internal?? whether protected field available in derived class which is outside the assembly. if not ..this is possible by which access modifiers??

1 2386

what is CSharp

6 3410




Can we have private constructor in our class file. When we are trying to create instance for the class will it create or throw error regarding that?

5 4386

I have to create a windows application using C# .net to Modifiy the XML file. The application have to show the node and node value. plz help me.

Merrill Lynch,

3 8236

How can i load the text box and label at the runtime based on the existing text box and tabel

Patni, Merrill Lynch,

2 3114

i am using windows authentication for c#.net remoting with iis.I uncheck the anonymous access option in directory security.when my client requests the server it returns 401:unauthorized error.How can I resolve the exception ? Please send me the reply as early as possible.

1 3198

what is the main differnce between const,readonly and static

CDAC, Beehive Systems,

3 6136

what is the difference between arraylist and hash table using a simple program?

CGI, Polaris, SunGard,

3 31658

What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType.

Siemens, Syntel,

2 9073


Post New C Sharp Questions






Un-Answered Questions { C Sharp }

what is .NET framework architecture ??

845


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.

825


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

866


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!

986


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

1060






what is main function of alternate teamplate of datalist?

907


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

737


3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close

824


hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks

809


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

792


why delegate is type safe?

1914


I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??

868


code for arranging given number in possible permutation ways ex:123,321,312,132,231,213.

1067


how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used

1826


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

850