/// <summary> /// Defines the entry point of the application. /// </summary> /// <param name="args">The arguments.</param> static void Main(string[] args) { IClientHandler ch = new ClientHandler(); IModel model = new Model(); IController controller = new Controller(model, ch); ch.SetController(controller); model.SetController(controller); Server server = new Server(int.Parse(ConfigurationManager.AppSettings["Port"]), ch); server.start(); while (true) { } }