What is static Constructor?

Answer Posted / manikanta.srinu

1.static constructor is execute only once while class is
loaded into memory.
2.static constructor use only static variables.
3.static constructor is a paramaterless constructor.
4.Can't use access modifiers on static constructor.
5.We can't create instence for static constructor.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to change the application name?

1701


Explain the difference between inprocess vs out process session state : Dot net architecture

750


Explain cache memory? : Dot net architecture

710


Explain the race around condition? : Dot net architecture

638


.Net Frame work arch?

1791


Why am I getting an invalidoperationexception when I serialize an arraylist?

662


What is IL code, CLR, CTS, GAC & GC?

780


which is the institute in hyderabad for providing the live project industry training

2531


Explain the types of memory management? : .NET Architecture

682


difference between data reader and dataset

1973


What is private constructor? And it's use?

826


What is the application frame host?

716


What does the term "green architecture" mean? : Dot net architecture

657


State and explain about microsoft.net?

703


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

794