ECMA-334 C# Language Specification18.2: Struct members |
The members of a struct consist of the members introduced by its struct-member-declaration
s and the members inherited from the type System.ValueType.
struct-member-declaration
struct-member-declarations
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 18.3, the descriptions of class members provided in 17.2 through 17.11 apply to struct members as well.