Enumeration<T> Summary The wrapper class for enumerations. Description The System.Enumeration class is the wrapper class for enumerations declared with the enum keyword. Examples Basic Usage 123456import System; enum Days { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY } System.Enumeration<Days> sunday = Days.SUNDAY;System.Console.log(sunday.toString()); Methods compareCompares the Enumeration object to another Enumeration object. Enumeration (Constructor)Constructs a System.Enumeration object with a specified enum value. toStringReturns a string representation of the enumeration value. Share HTML | BBCode | Direct Link