Numeric enums can include members with computed numeric value . The value of an enum member can be either a constant or computed.
Read moreHow many values can enum hold?
‘Enum’ initialization internally, uses two constants per value — a FieldRef and a Utf8 string. This gives the “hard limit” at ~32K values.
Read moreWhat can enums hold?
Enums can contain constructors, methods, variables, and constant class bodies .
Read more