c# read int from keyboard code example Example: c# input integer int chosenNumber = int.Parse(Console.ReadLine());