Code: Selecteer alles
Console.WriteLine("Choose number:");
Console.WriteLine("1.");
Console.WriteLine("2.");
Console.WriteLine("3.");
choice = int.Parse(Console.ReadLine());
if (choice == 1)
{
//Code
}
else if (choice == 2)
{
//Code
}
else if (choice == 3)
{
//Code
}
else
{
Console.WriteLine("Invalid choice");
}
Bedankt iedereen