I was looking at the code I have currently in my project and found something like this:
public enum MyEnum { open = 1 << 00, close = 1 &
To avoid typing out the values for a Flags enum by hand.
Flags
public enum MyEnum { open = 0x01, close = 0x02, Maybe = 0x04, ........ }