Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gdonega/821e2a6c7d8c5ba150f78e672aba2bca to your computer and use it in GitHub Desktop.
Save gdonega/821e2a6c7d8c5ba150f78e672aba2bca to your computer and use it in GitHub Desktop.
C# - Enum: TiposJogosComSwitch- main
namespace TiposJogosComSwitch
{
public class Program
{
static void Main(string[] args)
{
TipoJogo tipoJogo = TipoJogo.RPG;
Console.WriteLine(tipoJogo.GetDescricao());
// No console --> Role-playing game
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment