public void IntersectWith(CustomSet <T> other) { if (factory != other.factory) { throw new NotImplementedException(); } hashCode = 0; set.IntersectWith(other.set); }