Show/Hide Toolbars

XSharp

Enums may now be typed in X#. The type indicates the base class for the ENUM. By specifying a AS clause you can determine the size in bytes that the ENUM uses.

 

ENUM Foo AS BYTE
  MEMBER One
  MEMBER Two
END ENUM