Enumerator
An Enum is a value type with a set of related named constants often referred to as an enumerator list. The Enum keyword is used to declare an enumeration. It is a primitive data type, which is user defined.
Syntax of declaring an enumeration
Enum Days
Sun = 1
Mon
Tue
Wed
End Enum
For example: Code define the Enumerator
Enum Days As Byte

Join the conversation! Your thoughts help the community grow.