K
Krish
I want to have an enum that has a list of numeric values. How do I
achieve this?
Something like this ...
Public Enum AllowedNumbers
{
111,
222,
333,
444,
555
}
I can only have
Public Enum AllowedNumbers
{
AllowedValue1 = 111,
AllowedValue2 =222,
AllowedValue3 =333,
AllowedValue4 =444,
AllowedValue5 =555
}
Is there any way I can achieve this?
achieve this?
Something like this ...
Public Enum AllowedNumbers
{
111,
222,
333,
444,
555
}
I can only have
Public Enum AllowedNumbers
{
AllowedValue1 = 111,
AllowedValue2 =222,
AllowedValue3 =333,
AllowedValue4 =444,
AllowedValue5 =555
}
Is there any way I can achieve this?