C# Enum or Enumerator

C# Enum is a user-defined data type that holds a list of named constant values called an Enumerator list. The C# Enum or enumerator is a value type. It is suggested to define an Enum immediately under the namespace. It can also nest inside a class or a structure. The syntax of the C# enum … Read more