get int input in c sharp code example
Example 1: c# input integer
int chosenNumber = int.Parse(Console.ReadLine());
Example 2: how to store int c#
int name = 0;
int chosenNumber = int.Parse(Console.ReadLine());
int name = 0;