c# int.Parse(Console.ReadLine()); how to check if user input is a number code example Example: c# input integer int chosenNumber = int.Parse(Console.ReadLine());