private static void Main() { Program.address = new Uri(string.Format(CultureInfo.InvariantCulture, "ws://{0}/chat", Program.config.HostPort)); Program.clients = new ClientCollection(Program.config.Clients); // Start clients with delay in between. Program.timer = new Timer(Program.AddClient, null, 0, Program.config.ClientStartDelay); Console.WriteLine("\nPress <ENTER> to terminate..."); Console.ReadLine(); }