static constructor

  • They are used to initialize the static variables.
  • The access modifiers are not allowed on static constructors.
  • The static constructors will be executed only once, and only static variables accessible from static constructors.

0 comments :

Post a Comment

> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger