static void Main() { Calc c = new Calc(); int ans = c.Add(23,14); Console.WriteLine("23 + 14 равно {0}.", ans); // Ожидание <Enter> Console.ReadLine(); }
static void Main(string[] args) { Calc c = new Calc(); int ans = c.Add(5, 1); Console.WriteLine("5 + 1 is {0}.", ans); Console.ReadLine(); }
private static void Main(string[] args) { var c = new Calc(); var ans = c.Add(10, 84); Console.WriteLine("10 + 84 is {0}.", ans); Console.ReadLine(); }
public static void Main() { Calc c = new Calc(); int ans = c.Add(10, 84); Console.WriteLine("10 + 84 is {0}.", ans); Console.ReadLine(); }
static void Main() { Calc c = new Calc () ; int ans = c.Add(10, 84); Console.WriteLine("10 + 84 is {0}.”, ans); // Ожидать нажатия пользователем клавиши <Enter> перед завершением работы. Console.ReadLine(); }
static void Main() { Calc c = new Calc(); int ans = c.Add(10, 84); Console.WriteLine("10 + 84 is {0}.", ans); Console.ReadLine(); MessageBox.Show("Hello..."); }
static void Main(string[] args) { Calc c = new Calc(); int ans = c.Add(10, 84); Console.WriteLine("10 + 84 is {0}", ans); // Wait for the user to press the Enter key before shutting down. Console.ReadLine(); }
static void Main(string[] args) { Calc c = new Calc(); int ans = c.Add(10, 84); Console.WriteLine("10 + 84 is {0}.", ans); // Ожидать нажатия пользователем клавиши <Enter> перед выходом. Console.ReadLine(); }
static void Main() { Calc c = new Calc(); int ans = c.Add(10, 84); Console.WriteLine("10 + 84 is {0}", ans); //wait for user to press enter before shutting down Console.ReadLine(); }
static void Main() { Calc c = new Calc(); int ans = c.Add(10, 84); Console.WriteLine("10 + 84 = {0}.", ans); // �ȴ��û�����س����������� Console.ReadLine(); }