static void Main(string[] args) { RabbitProducer producer = new RabbitProducer(); producer.Connect(); producer.SendMessages(); producer.Disconnect(); Console.WriteLine("All sent."); }
static int Main(string[] args) { RabbitProducer producer = new RabbitProducer(); producer.Connect(); producer.SendMessages(); producer.Disconnect(); Console.WriteLine("All sent."); return(0); //Console.ReadLine(); }