how to use enum in model c# code example Example: c# enum syntax enum State { Idle, Walking, Running, Jumping, Climbing, Attacking }