private static void Main(string[] args) { _mircServiceClient = new MircServiceClient(); string username = "******" + Guid.NewGuid().ToString(); new Thread(ReadMessages).Start(); while (true) { Console.Write("Gigi : "); string readLine = Console.ReadLine(); _mircServiceClient.SendMessage(new Message{Info = readLine,Username = username}); } }
private static void Main(string[] args) { _mircServiceClient = new MircServiceClient(); string username = "******" + Guid.NewGuid().ToString(); new Thread(ReadMessages).Start(); while (true) { Console.Write("Gigi : "); string readLine = Console.ReadLine(); _mircServiceClient.SendMessage(new Message { Info = readLine, Username = username }); } }