integer enum C# code example
Example 1: enums 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;