Tuesday, December 13, 2011

Static Constructor

  • Static constructor gets only once, even through any no. of objects are created.
  • Static constructor will be executed even if we access the members of a class instead of creating objects (But it will be executed only once).

No comments:

Post a Comment