Kii*_*Kii 0 .net static constructor
如何在.NET中运行静态构造函数(即模块构造函数和类型构造函数)?
例如:
class A
{
static A()
{
Environment.Exit(0);
}
static int i()
{
return 100;
}
}
Run Code Online (Sandbox Code Playgroud)
如何在i()不退出的情况下调用?