C Sharp Interview Questions
Questions Answers Views Company eMail

what is unit testing

2 2431

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 2011

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 1870

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

5 4196

what is namespace?

6 4347

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

4 4057

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 2308

what is CSharp

6 3260

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 4168

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 8144

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

Patni, Merrill Lynch,

2 3010

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 3114

what is the main differnce between const,readonly and static

CDAC, Beehive Systems,

3 5951

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

CGI, Polaris, SunGard,

3 31400

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

Siemens, Syntel,

2 8892

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.


if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.


hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?


What exactly happens when we debug and build the program?


explain the nature of the assembly work?


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!!!


windows c# using datagridview in edit form sql server


i want o/p 011242110 in c# code.


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


if you do have a stack overflow profile.what is your ranking?


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


what is .NET framework architecture ??


Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana


what is main function of alternate teamplate of datalist?


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