// String enum enum Direction { Up = "UP", Down = "DOWN", Left = "LEFT", Right = "RIGHT", } // Numeric enums enum Direction { Up = 1, Down, Left, Right, }