Popular Posts

There was an error in this gadget

Jul 21, 2011


struct type is a value type that can contain constructors, constants, fields, methods, properties, indexers, operators, events, and nested types.
The format of declaration of struct is :
[attributes] [modifiers] struct identifier [:interfaces] body [;]

attributes (Optional)

Additional declarative information. For more information on attributes and attribute classes

modifiers (Optional)

The allowed modifiers are new and the four access modifiers.


The struct name.

interfaces (Optional)

A list that contains the interfaces implemented by the struct, all separated by commas.


The struct body that contains member declarations.

For more visit:

No comments:

Post a Comment