From time to time I see an enum like the following:
[Flags] public enum Options { None = 0, Option1 = 1, Option2 = 2, Option3 = 4, Op
You can also do this
[Flags] public enum MyEnum { None = 0, First = 1 << 0, Second = 1 << 1, Third = 1 << 2, Fourth = 1 << 3 }
I find the bit-shifting easier than typing 4,8,16,32 and so on. It has no impact on your code because it's all done at compile time