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