I am creating an C# calculator console using visual studio and code and when I am typing and debugging my application I got this error "Error CS0029 Cannot implicitly convert type 'string' to 'double'". I think my code was not compatible. Can somebody help me?
Console.WriteLine("\t\t\tCalculator in C#\r");
Console.WriteLine("\t\t\t-----------------\r");
Console.WriteLine("\t\tEnter First Number\r");
double num1 = Double.Parse(Console.ReadLine());
Console.WriteLine("\t\tSelect an Operator: ( +, -, *, /, ^)\r");
double opp = Console.ReadLine(); ---- WITH THIS LINE??**
Console.WriteLine("\t\tEnter second Number\r");
double num2 = Double.Parse(Console.ReadLine());