static void Main(string[] args) { listener = new TcpListener(IPAddress.Any, 8875); new Thread(AcceptClients).Start(); new Thread(RemoveClients).Start(); while (true) { Console.Write("> "); string command = Console.ReadLine(); CommandHandler.HandleCommand(command); } }