Hi,
I want to know how to use enum int without casting.There is work around something like below
Code
public static class FormatCode
{Code
public const int percentage= 1;Code
public const int text= 2;Code
public const int number= 3;Code
}Is there any impact with using like these and can this be good practice?1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Rajeesh MenothRank #118 · 18.4K reputationPosted May 12, 2016, 8:15 PM EDT