因此,您永远都不该为一个不可变类提供一个无参数的构造函数。
Thus, you should never have a no-argument constructor for an immutable class.
变量是无类型的,所以对象构造方法可能以清单1这样的代码开头。
Variables are untyped, so the object constructor might begin with code shown in Listing 1.
辅助类代理也包含一个默认的无参数构造器,用来建立它所代表的 COM 对象的实例。
The coclass proxy also contains a default parameterless constructor for creating an instance of the COM object it represents.
应用推荐