C# console readline int only code example Example: c# input integer int chosenNumber = int.Parse(Console.ReadLine());