Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 330 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 330 Bytes

C_Sharp_Structs

Simple example of structs

  • In C#
  1. struct is the value type data type
  2. It can contain a parameterized constructor, static constructor, constants, fields, methods, properties, indexers, operators, events, and nested types.
  3. All the value types are allocated on stack memory.
  4. Struct has limited features.