public class myClass { private void myMethod() { // Method code that is using the enum } private enum myEnum : byte { Zero = 0x00, One = 0x01 } }