static void Main(string[] args) { CalculatorServiceClient calculatorServiceClient = new CalculatorServiceClient(); calculatorServiceClient.Add(1.0); Console.WriteLine("calculatorServiceClient.Add(1.0)={0}", calculatorServiceClient.GetResult()); calculatorServiceClient.Add(22.0); Console.WriteLine("calculatorServiceClient.Add(22.0)={0}", calculatorServiceClient.GetResult()); Console.Read(); }