Static Constructor..?

  • Thread starter Thread starter ±è´öÇö
  • Start date Start date
±

±è´öÇö

Hello..

I heard about "static constructor" yesterday..

I can't understand why use "static constructor".

what is it's mechanism?

reply plz...:-)
 
Hi,

The static constructor initializes the static members of a class. It is
called automatically before the the first instance is created or before the
first access to any static members.

Hope this helps

Chris Taylor
 
Back
Top