Ejemplo n.º 1
0
    public bool Remove(int k)
    {
        V v;

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