how to convert console.readline to integer code example
Example 1: c# input integer
int chosenNumber = int.Parse(Console.ReadLine());
Example 2: how to get int from console.readline
int intTemp = Convert.ToInt32(Console.ReadLine());
int chosenNumber = int.Parse(Console.ReadLine());
int intTemp = Convert.ToInt32(Console.ReadLine());