3 new 修饰符 5.2.4 权限修饰符 5.2.5 静态和实例成员 5.3 常量 5.4 字段 5.4.1 静态和实例字段(static and instance fields) 5.4.2 只读字段(readonly fields) 5.4.3 常量和静态只读字段的区别 5.5 方法 5.5.1 方法参数(method parameters) 5.5.2 虚拟...
基于86个网页-相关网页
This is unusual because it requires a developer to create an instance of an object just to access non-instance (static) methods and fields!
这种做法并不常见,因为需要开发人员创建仅用于访问非实例(静态)方法和字段的对象的实例。
Without beforefieldinit, the runtime must run the type constructor at a precise time-just before the first access to static or instance fields and methods of the type.
如果没有beforefieldinit,运行库就必须在某个精确时间运行类型构造函数,即,恰好在第一次访问该类型的静态或实例字段和方法之前。
The Attributes panel shows the instance fields and values associated with the object, and the Statics panel shows the static fields and values associated with the class.
Attributes面板会显示与对象相关的实例域和值,而Statics面板会显示与类相关的静态域和值。
应用推荐