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