实例构造函数 meaning in Chinese
instance constructors
Examples
- Do declare static classes as sealed and abstract , and add a private instance constructor , if your programming language does not have built - in support for static classes
如果编程语言没有对静态类的内置支持,则应将静态类声明为密封的和抽象的,并添加一个私有实例构造函数。 - For an instance field , in the instance constructors of the class that contains the field declaration , or for a static field , in the static constructor of the class that contains the field declaration
对于实例字段,在包含字段声明的类的实例构造函数中;或者,对于静态字段,在包含字段声明的类的静态构造函数中。 - A reference type that encapsulates data constants and fields and behavior methods , properties , indexers , events , operators , instance constructors , static constructors , and destructors , and can contain nested types
一种引用类型,它封装数据和行为,并可以包含嵌套类型,其中数据包括常数和字段,行为包括方法、属性、索引器、事件、运算符、实例构造函数、静态构造函数和析构函数。 - Execution of an object creation expression that includes an object or collection initializer consists of first invoking the instance constructor and then performing the member or element initializations specified by the object or collection initializer
对象建立表达式的执行包括某个对象或集合构造者,并由第一个调用实例构造函数组成,并且,接着执行成员或元素初始化,这是由对象或集合构造者特定化的。