When a Static Constructor called in .NET?



When a Static Constructor called in .NET?..

Answer / Kishor Kumar Shukla

A static constructor in C# is called automatically before the first instance of a class is created. It cannot be explicitly called. The purpose of a static constructor is to initialize any static fields declared in the class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Explain what is a manifest in .net?

1 Answers  


What is the difference between asp.net and asp?

1 Answers  


What is the use of immutability?

1 Answers  


What is the advantage of packaging over xcopy in .net?

1 Answers  


differance between checkbox and rediobutton in vb.net?

1 Answers  


What is the concept of inheritance in .net?

1 Answers  


Is atl redundant in the .net world?

1 Answers  


Is do-it (chennai) a good institute to learn dot-net???? are the trainers well experienced??

2 Answers   Satyam,


What is the purpose of enumerable class in .net?

1 Answers  


What is class library in .net

1 Answers  


What is Garbage Collection in .Net? Garbage collection process?

3 Answers  


How to get the number after decimal point in .net?

1 Answers  


Categories