using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace trainingWork { internal class Program { static void Main(string[] args) { Console.WriteLine("Введите первое число: "); int a = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Введите второе число: "); int b = Convert.ToInt32(Console.ReadLine()); int c = a * b; Console.WriteLine($"Произведение числа {a} на число {b} = {c}"); Console.ReadKey(); } static void sum(string[] args) { Console.WriteLine("Введите первое число: "); int a = Convert.ToInt32(Console.ReadLine()); Console.WriteLine("Введите второе число: "); int b = Convert.ToInt32(Console.ReadLine()); int x = a + b; Console.WriteLine($"Сумма числа {a} на число {b} = {x}"); Console.ReadKey(); } } }