create object of enum in c# code example
Example 1: enums c#
enum Season
{
Spring,
Summer,
Autumn,
Winter
}
Example 2: enum in c#
enum Itemtype
{
Use,
Loot,
Equip,
ETC
};
enum Season
{
Spring,
Summer,
Autumn,
Winter
}
enum Itemtype
{
Use,
Loot,
Equip,
ETC
};