static void Main(string[] args)
        {
            CalculatorClient client = new CalculatorClient();

            TimeSpan ts1 = new TimeSpan(DateTime.Now.Ticks);
            for (int i = 0; i < 100000; i++)
            {
                client.SayHelloRabbitMQ("xiaopotian");
                Console.WriteLine("xiaopotian");
            }

            TimeSpan ts2 = new TimeSpan(DateTime.Now.Ticks);
            TimeSpan ts = ts2.Subtract(ts1).Duration();
            //string a = ts.Hours.ToString() + "小时" + ts.Minutes.ToString() + "分" + ts.Seconds.ToString() + "秒";
            Console.WriteLine(ts.Milliseconds);
            Console.WriteLine("Press any key to continue");
            Console.Read();
        }