Enums in C#

C#-Enums

The C#-Enums keyword is used to declare an enumeration: a type that consists of a set of named constants called the enumerator list. By default, the first enumerator has the value 0, and the value of each successive enumerator is increased by 1. C#-Enums Syntax : Where, 1.The <i>enum_name</i> specifies the enumeration type name. 2. …

C#-Enums Read More »