c# ask user input two integers write method to int.parse and return code example Example: c# input integer int chosenNumber = int.Parse(Console.ReadLine());