static void Main(string[] args) { Console.WriteLine("Starting service..."); var mq = new RabbitMq(); var queueName = "kevinQueue"; mq.Receive(queueName); Console.WriteLine("press enter to exit"); Console.ReadLine(); }