实践证明
c#静态构造函数与构造函数的调用先后
c#静态构造函数与构造函数的调⽤先后先上代码:测试类:///<summary>///构造函数///</summary>public RedisHelper(){Console.WriteLine("构造⽅法");}static RedisHelper(){Console.WriteLine("静态构造⽅法");}writeline函数public static void T...
c#静态构造函数与构造函数的调⽤先后先上代码:测试类:///<summary>///构造函数///</summary>public RedisHelper(){Console.WriteLine("构造⽅法");}static RedisHelper(){Console.WriteLine("静态构造⽅法");}writeline函数public static void T...