示例#1
0
 static void Main(string[] args)
 {
     using (var proxy = new Service2Client())
     {
         Console.WriteLine("{0} + {1} = {2}", 23, 5, proxy.Add(23, 5));
         Console.WriteLine("{0} - {1} = {2}", 13, 5, proxy.Subtract(13, 5));
         Console.Read();
     }
 }