© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. SarcarTest Your Skills in C# Programming https://doi.org/10.1007/978-1-4842-8655-5_3

3. Enumeration and Structure Types

Vaskaran Sarcar1  
(1)
Garia, Kolkata, West Bengal, India
 
In the previous two chapters, you saw how to use the built-in simple types as well as other types such as strings and arrays. Now the question is: can we categorize these types? The answer is yes. Broadly, you can divide all C# types into value types and reference types. You can further divide the value types into the following categories:
  • Structure types

  • Enumeration types

All the simple types are value types in C#. But the strings and arrays are reference types. Part II of this book ...

Get Test Your Skills in C# Programming: Review and Analyze Important Features of C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.