Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C Sharp Interview Questions
Questions Answers Views Company eMail

what is unit testing

2 3104

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 2608

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 2481

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

5 5219

what is namespace?

6 5479

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

4 4992

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 2813

what is CSharp

6 4327

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 5437

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 8923

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

Merrill Lynch, Patni,

2 3735

i am using windows authentication for 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 3654

what is the main differnce between const,readonly and static

Beehive Systems, CDAC,

3 7052

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

CGI, Polaris, SunGard,

3 32634

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

Siemens, Syntel,

2 9973

Post New C Sharp Questions

Un-Answered Questions { C Sharp }

What is the difference between internal and protected in c#?


Is string a class in c#?


Difference between a sub and a function in c#.


What is a template class?


What are the various components in crystal reports?


What is cshtml extension?


Can a class have more than 1 destructor?


Why use a singleton instead of static methods?


What are cshtml files?


Should I make my destructor virtual?


What is continue in c#?


What is the purpose of abstract class in c#?


What is constants in c#?


Why is c# good for games?


How do you inherit a class into other class in c#?