c# parse integer from console.readline code example Example: c# input integer int chosenNumber = int.Parse(Console.ReadLine());