int ValueOne, ValueTwo, Numchar, Total;
Console.WriteLine("This Is A Program For doing any Of the four mathematical Proccesses");
Console.WriteLine("You can Add , substract , Divide And Multiply");
Console.WriteLine("When Asked Please Type The Values Or The Proccesses You Want.");
Console.WriteLine("Please Type The First Value");
ValueOne = Convert.ToInt32((Console.ReadLine()));
Console.WriteLine("Please Type The Second Value");
ValueTwo = Convert.ToInt32((Console.ReadLine()));
Console.WriteLine("Please Enter The Number Of The Proccess/Character You Want Meaning That (1 = +) , (2 = -) , (3 = *) , (4 = /)");
Numchar = Convert.ToInt32((Console.ReadLine()));
if ((Numchar) = 1)
Total = ValueOne + ValueTwo;
if ((Numchar) = 2)
Total = ValueOne + ValueTwo;
if ((Numchar) = 3
Total = ValueOne * ValueTwo;
if ((Numchar) = 4
Total = ValueOne / ValueTwo;
This is a console application using c# , What Gives me The Error is : "If ((NumChar) = (number)" I'm a beginner in visual studio and I just started taking the courses