reading a integer from user in c sharp code example Example: c# input integer int chosenNumber = int.Parse(Console.ReadLine());