예제 #1
0
        static void Main(string[] args)
        {
            MyMathClient client = new MyMathClient();

            Console.WriteLine("res = " + client.Add(9, 1));
            Console.ReadLine();
        }
예제 #2
0
 static void Main(string[] args)
 {
     MyMathClient proxy = new MyMathClient();
     int res = proxy.Add(5, "+", 5);
     Console.WriteLine("Sum = {0}" , res);
     Console.WriteLine("Press Enter");
     Console.ReadLine();
 }
예제 #3
0
파일: Program.cs 프로젝트: Saroko-dnd/My_DZ
        static void Main(string[] args)
        {
            MyMathClient proxy = new MyMathClient();

            int result = proxy.Add(35, 57);
            Console.WriteLine("Сумма = {0}", result);
            Console.WriteLine("Для завершения нажмите<ENTER>.\n\n");
            Console.ReadLine();
        }
예제 #4
0
        static void Main(string[] args)
        {
            MyMathClient MathClient = new MyMathClient();

            int result = MathClient.Add(21, 13);

            Console.WriteLine("result: {0}", result);
            Console.WriteLine("Push any key for exit");
            Console.ReadKey();

            MathClient.Close();
        }
예제 #5
0
        static void Main(string[] args)
        {
            MyMathClient MathClient = new MyMathClient();

            int result = MathClient.Add(21, 13);

            Console.WriteLine("result: {0}", result);
            Console.WriteLine("Push any key for exit");
            Console.ReadKey();

            MathClient.Close();
        }
예제 #6
0
 static void Main(string[] args)
 {
     MyMathClient client = new MyMathClient();
     Console.WriteLine("res = " + client.Add(9, 1));
     Console.ReadLine();
 }