Could anyone just enlighten me on the main differences in C# between enumerations, structs and classes? I usually just use classes for this type of code but never really seen the need to use the others?
Could anyone just enlighten me on the main differences in C# between enumerations, structs
Share
Refering to :
Introduction to Objects and Classes in C# – Introduction
Introduction to Objects and Classes in C# – World’s Classes and Objects
A Struct is similiar to class with several differences.
Refering to Structs
Enumerations are essentially unique types that allow you to assign symbolic names to integral values.