Basically I need to know how to test if the user presses the number 1 on their keyboard for the console to then execute a command. If they don't, they'd have to press 2 or 3, etc. for another command to be executed.
using System;
using System.Threading;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello,[user]!");
Console.WriteLine("Please Enter Your Username");
string uname = Console.ReadLine();
Thread.Sleep(1000);
Console.Clear();
Thread.Sleep(1500);
Console.WriteLine("Welcome to Axiom, " + uname);
Console.WriteLine("If You Want To Find The Full List Of Commands, Please Press 1");
Console.WriteLine("If Not, Then Press Esc To Exit Or Press A Command Button To Execute A Command");
}
}