C Sharp Interview Questions
Questions Answers Views Company eMail

Why do we need to call CG.SupressFinalize?

542

What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

504

What is Event - Delegate?

566

What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?

588

What are Namespaces?

553

If you want to write your own dot net language, what steps you will u take care?

551

how dot net compiled code will become platform independent?

521

What is the use of base keyword? Tell me a practical example for base keyword’s usage?

526

What is the difference while using directive vs using statement ?

504

What is boxing & unboxing?

555

Explain about Destructor method?

532

Explain about finalize method?

537

Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?

536

What is Asynchronous call and how it can be implemented using delegates?

563

What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?

539


Post New C Sharp Questions

Un-Answered Questions { C Sharp }

What is difference between list and dictionary in c#?

453


Why do we need to call CG.SupressFinalize?

542


What is the meaning of 0 in c#?

515


What does clr stand for?

470


Why var is used in c#?

480






Can an abstract class have a constructor c#?

484


How can encapsulation be achieved?

590


Define satellite Assembly in .NET?

549


What is better C# or VB.NET?

515


Can we inherit private members of class in c#?

569


When can a derived class override a base class member?

513


How do you remove white spaces from a string?

483


Explain hash table in c# ?

643


Why is it important to override gethashcode when equals method is overridden?

549


What is the ouput of the following program?

550