What is static Constructor?

Answer Posted / nagakrishna balusu

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between machine config vs. Web config? : .NET Architecture

716


When do I need to use gc.keepalive?

836


What size is a .net object?

792


Explain the types of memory management? : .NET Architecture

680


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

767


Explain hard disk and what is its purpose? : Dot net architecture

691


What is .net mobile utility controls. : Microsoft dot net mobile

698


how to make and display a form without title bar?

1649


if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get

2089


Can I create my own context attributes?

718


Explain the purpose of cache? : Dot net architecture

643


What is .net mobile images control. Explain with an example? : Microsoft dot net mobile

693


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

792


What is the access level of the visibility type internal?

757


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

774