What is static Constructor?

Answer Posted / nagarjunareddy.sannapareddy

1.static constructor is execute only once while class is
loaded into memory
2.static constructor use only static variables

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private constructor? And it's use?

640


What does this do? Gacutil /l | find /i "corillian"

613


Whats new features in Visual Studio 2012?

552


How will you do windows authentication and what is the namespace?

542


What are the five stages in a dlx pipeline? : Dot net architecture

519






What is the difference between absolute expiration and sliding-time expiration?

536


how can we achieve language interoperability through CLS? How MSIL works?

605


IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class

1542


Define a virtual memory? : Dot net architecture

511


Difference between type constructor and instance constructor?

553


What is boxing and unboxing? Does it occure automaatically or you need to write code to box and unbox?

532


Explain the types of memory management? : Dot net architecture

506


how to create applications by using Visual Studio 2012?

578


What is the purpose of hard disk? : Dot net architecture

493


What is the difference between an event and a delegate?

524