static void Main(string[] args) { Server.Server server = new Server.Server(); IConnectionManager manager = server.ConnectionManager; manager.Configure(); string userInput = ""; while (userInput != null && userInput.ToLower() != "q") { Console.WriteLine("Press q to quit"); userInput = Console.ReadLine(); } manager.Dispose(); }