public static void Main()
Console.WriteLine("Введите два числа:");
a = int.Parse(Console.ReadLine());
b = int.Parse(Console.ReadLine());
Console.WriteLine("Введите код сложения/вычитания/умножения/деления.");
string s = Console.ReadLine();
code = Convert.ToInt32(s);
Console.WriteLine("Введён код 1, начинаю сложение...");
Console.WriteLine(a + b);
Console.WriteLine("Введен код 2, начинаю вычетание...");
Console.WriteLine(a - b);
Console.WriteLine("Введен код 3, начинаю умножение...");
Console.WriteLine(a * b);
Console.WriteLine("Введен код 4, начинаю деление...");
Console.WriteLine(a / b);
Console.WriteLine("Ошибка, конец работы программы.");