How to change enumeration to an array of constants
Hi All,I have following enumeration which I need to convert to array of constants.
Can someone please give me any clue?
public enum PermissionsEnum: long
{
Permission1 = -1,
Permission2 = 1,
Permission3 = 2,
Permission4 = 4,
Permission5 = 8,
Permission6 = 16
}
Thanks