You design a C# enumeration using a class with the <<enumeration>> stereotype. The code of the class attributes is used as enumeration values.
Data Type: You set the enumeration data type using the EnumDataType extended attribute of the enumeration. You can type for example Byte, Short, or Long in the value column of the extended attribute
Initial Expression: You set the enumeration Initial Expression by defining a value in the Initial Value box of an enum attribute
{ public enum Color : colors { Red, Blue, Green, Max = Blue } }