I want to know how to use enum int without casting.There is work around something like below
public static class Format
{
public const int percentage= 1;
public const int text= 2;
public const int number= 3;
}
Is there any impact with using like these and can this be good practice?