I am trying to make an example formula console calculator and can't find out how to convert the output of the Console.ReadLine() to a integer. Here is a sample of code that I tried.
int A;
Console.WriteLine("What is number A?");
String numA = Console.ReadLine();
Convert.ToInt32(numA) == A;