静态构造函数
例句与用法
- Has a static constructor and one static member ,
有一个静态构造函数和一个静态成员 - Static constructors have the following properties
静态构造函数具有以下特点: - Demonstrates how to create a static constructor
演示如何创建静态构造函数。 - A static constructor cannot be called directly
无法直接调用静态构造函数。 - A static constructor is used to initialize any
静态构造函数用于初始化任何 - A constructor can be declared static using the
关键字可以将构造函数声明为静态构造函数。 - Represents a static constructor for a class
表示类的静态构造函数。 - Classes , including static classes , may have static constructors
类(包括静态类)可以有静态构造函数。 - There is also a chance that a static constructor could be aborted
还有一种可能就是静态构造函数被终止。 - Is called , the static constructor is invoked to initialize the class
时,将调用静态构造函数来初始化类。
用"静态构造函数"造句