public bool Remove(int k) { V v; if (hashtable.TryGetValue(k, out v)) { hashtable.Remove(k); list.Remove(v); return(true); } return(false); }
public void RemoveConnection(IntHashtable <UnityNetDriverConnection> connections, int id) { connections.Remove(id.GetHashCode()); }