public void RemoveClient(Client client) { try { if (client != null && Clients.Contains(client)) Clients.Remove(client); } catch{} }
public void AddClient(Client client) { if (Clients.IndexOf(client) == -1) { Clients.Add(client); } }