create enum class c# code example
Example 1: public enum 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
};