12 public enum MyEnum : byte {
25 enum AA : byte { a, b }
26 enum BB : ulong { x, y }
28 const int myconstant = 30;
30 enum Compute { two = AA.b + BB.y }
32 public static int Main ()
34 byte b = (byte) MyEnum.Foo;
36 Console.WriteLine ("Foo has a value of " + b);
44 int l = (int) AA.b + 1;
76 Console.WriteLine ("Enum emission test okay");