Initialize Static Class Members with Static Constructors.
使用静态构造器初始化静态类成员。
Static constructors are called at some point between when the program starts and the class is instantiated.
静态构造函数在程序开始和类实例化之间的某个时刻调用。
Static initializers and static constructors provide the cleanest, clearest way to initialize static members of your class.
静态初始化器和静态构造函数提供了最洁净的、最间接的方式来初始化类的静态成员。
应用推荐