This documentation is archived and is not being maintained.

11.2 Struct members

Visual Studio .NET 2003

The members of a struct consist of the members introduced by its struct-member-declarations and the members inherited from the type System.ValueType.

struct-member-declarations:
struct-member-declaration
struct-member-declarations   struct-member-declaration
struct-member-declaration:
constant-declaration
field-declaration
method-declaration
property-declaration
event-declaration
indexer-declaration
operator-declaration
constructor-declaration
static-constructor-declaration
type-declaration

Except for the differences noted in Section 11.3, the descriptions of class members provided in Section 10.2 through Section 10.11 apply to struct members as well.

Show: