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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top