Export (0) Print
Expand All

5.1.2.1 Instance variables in classes

Visual Studio .NET 2003

An instance variable of a class comes into existence when a new instance of that class is created, and ceases to exist when there are no references to that instance and the instance's destructor (if any) has executed.

The initial value of an instance variable of a class is the default value (Section 5.2) of the variable's type.

For the purpose of definite assignment checking, an instance variable of a class is considered initially assigned.

Show:
© 2014 Microsoft