how to take int input from user in c# code example Example: c# input integer int chosenNumber = int.Parse(Console.ReadLine());