Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft