using System;
public class Program
{
private enum Player { PlayerOne, PlayerTwo }
public static void Main()
Player player = Player.PlayerTwo; // Change me between Player.PlayerOne and Player.PlayerTwo to see the output change.
switch(player)
case Player.PlayerOne:
//this will get executed
Console.WriteLine("Player is Player One!");
//do stuff
break;
case Player.PlayerTwo:
//this will not get executed
Console.WriteLine("Player is Player Two!");
default:
}