static void Main(string[] args) { ClientWorker worker = new ClientWorker(); worker.Start(); Console.ReadLine(); }
static void Main(string[] args) { Console.WriteLine("Client - json"); ClientWorker client = new ClientWorker(ServerPort); client.Start(); // just wait so I can read the terminal window Console.ReadLine(); }