A managed class cannot have a static constructor that also has a member initialization list.
托管类中不能有本身有成员初始化列表的静态构造函数。
When an array is in a constructor's member initialization list, the elements of the array will be default initialized.
当阵列在建构函式的成员初始设定清单中时,阵列元素将预设为初始化。
The catch clause can handle exceptions thrown either from within the member initialization list or from within the constructor body.
catch子句既可以处理从成员初始化列表中抛出的异常,也可以处理从构造函数函数体中抛出的异常。
The catch clause can handle exceptions thrown either from within the member initialization list or from within the constructor body.
catch子句既可以处理从成员初始化列表中抛出的异常,也可以处理从构造函数函数体中抛出的异常。
应用推荐