static void Main(string[] args) { SubscribeRabbitMQ ms = new SubscribeRabbitMQ(); ms.CreateSubscribe(); Console.ReadKey(); }