how to use console readline to get int code example Example: c# input integer int chosenNumber = int.Parse(Console.ReadLine());