how to create a new file for enum in c# code example
Example 1: c# enum syntax
enum State
{
Idle,
Walking,
Running,
Jumping,
Climbing,
Attacking
}
Example 2: enums c#
enum Season
{
Spring,
Summer,
Autumn,
Winter
}