enum int c# code example
Example 1: public enum c#
enum Season
{
Spring,
Summer,
Autumn,
Winter
}
Example 2: get enum value c#
int something = (int) Question.Role;
enum Season
{
Spring,
Summer,
Autumn,
Winter
}
int something = (int) Question.Role;