Structures
In C#, a structure is a value type data type. It helps you to make a single variable to hold the related data of various data types. Structures are used to represent a record.
Features of Structures
Structure members cannot be specified as abstract, virtual, or protected.
Class Vs Structures
When to use Structures
When not to use Structures
The size of the struct (the sum of the sizes of its members) is large
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: