Exemplo n.º 1
0
 public Hash_Set <TKey> Except(Hash_Set <TKey> other)
 {
     return(new Hash_Set <TKey>(this.table.Where(x => !other.Contains(x.Key))));
 }
Exemplo n.º 2
0
 public Hash_Set <TKey> IntersectWith(Hash_Set <TKey> other)
 {
     return(new Hash_Set <TKey>(this.table.Where(x => other.Contains(x.Key))));
 }