This program also demonstrates how static field initializers execute before the code inside an explicit type constructor.
此程序还演示了静态字段初始值设定项如何在显式类型构造函数中的代码之前执行。
LaunchApp creates an instance of an Assembly object using the Assembly.LoadFrom static method rather than by using an explicit constructor call.
LaunchApp使用Assembly . LoadFrom静态方法创建Assembly对象的实例,而不是通过显式调用构造函数来创建。
The rule description tells you that an explicit static constructor results in code that performs worse.
该规则说明告诉您,显式静态构造函数会导致代码性能变差。
应用推荐