void RunChat(IChat channel, string chatNickname) { Console.WriteLine("\nPress [Enter] to exit\n"); channel.Hello(chatNickname); string input = Console.ReadLine(); while (input != string.Empty) { channel.Chat(chatNickname, input); input = Console.ReadLine(); } channel.Bye(chatNickname); }