A static constructor cannot be called directly.
无法直接调用静态构造函数。
Always provide a static constructor when providing static member variables.
当提供静态成员变量时,总是提供一个静态构造函数。
In this article, you've seen some performance consequences when a class has a static constructor.
在本文中,您已经看到了在类具有一个静态构造函数时所导致的性能结果。
应用推荐