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

            proxy.FastReply();
            //proxy.SlowReply();

            Console.Write("Hi. (:\n\n\n");
        }
예제 #2
0
 static void Main(string[] args)
 {
     using (ReplyClient proxy = new ReplyClient())
     {
         //   proxy.SlowReply();
         proxy.FastReply();
         Console.WriteLine("ENter number");
         int number = Convert.ToInt32(Console.ReadLine());
         Console.WriteLine("User put number");
     }
 }
예제 #3
0
 static void Main(string[] args)
 {
     using (ReplyClient client = new ReplyClient())
     {
         Console.WriteLine("Enter number:");
         int a = Convert.ToInt32(Console.ReadLine());
         //   client.SlowReply();
         client.FastReply();
         Console.WriteLine("U put: " + a);
     }
 }
예제 #4
0
        static void Main(string[] args)
        {
            ReplyClient proxy = new ReplyClient();
            //proxy.FastReply();
            proxy.SlowReply();

            Console.WriteLine("Enter numeric value");
            int val = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("You enter {0}", val);
            proxy.Close();
        }
예제 #5
0
파일: Program.cs 프로젝트: Saroko-dnd/My_DZ
        static void Main(string[] args)
        {
            ReplyClient proxy = new ReplyClient();
            //proxy.FastReply();
            proxy.SlowReply();

            Console.WriteLine("Введите числовое значение ");
            int value = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("Вы ввели {0}", value);
            proxy.Close();
        }