Ray's playground

 

Item 13: Use Proper Initialization for Static Class Members(Effective C#)

  Static initializers and static constructors provide the cleanest, clearest way to initialize static members of your class. They are easy to read and easy to get correct. They were added to the language to specifically address the difficulties involved with initializing static members in other languages.

posted on 2011-01-22 11:59  Ray Z  阅读(125)  评论(0编辑  收藏  举报

导航