public static void Send() { while (true) { string st = Console.ReadLine(); if (st.Equals("quit")) { break; } objClient.SendObject(st); } }