Is thrown when an attempt is made to invoke a non - static method on a null object 当尝试对空对象调用非静态方法时,将引发
Tag , and not the static 标记而非静态
Both class and instance variables , static and non - static fields , can be declared 类以及实例变量、静态和非静态字段都可声明为
For example , do not use g or s to distinguish static versus non - static fields 例如,不要使用g _或s _来区分静态字段和非静态字段。
Class object and the nonstatic method acquires the lock associated with the instance 对象的锁,而非静态方法要求属于此类实例的锁。
The discussion and the sample program are limited to non - static data members and virtual functions 讨论和示例程序都只限于非静态数据成员和虚函数。
Attribute node order is enforced during serialization rather than during static type checking 属性节点顺序是在序列化期间而非静态类型检查期间执行的。
This also allows you to store request - specific data in non - static members of the application class 这样还可以将特定于请求的数据存储在应用程序类的非静态成员中。
In the vast majority of scenarios any non - static fields in a library should not be visible to developers 在大多数情况下,库中的所有非静态字段对开发人员都应是不可见的。
Do not pass null nothing in visual basic as the sender parameter when raising a non - static event 当引发非静态事件时,不要将null (在visual basic中为nothing )作为sender参数进行传递。