change enum of an int enum c# code example
Example 1: get enum value c#
int something = (int) Question.Role;
Example 2: enum in c#
enum Itemtype
{
Use,
Loot,
Equip,
ETC
};
int something = (int) Question.Role;
enum Itemtype
{
Use,
Loot,
Equip,
ETC
};