David Hoffer <dh************@xrite.remove.com> wrote:
I didn't see anything in the docs on this....
Open the docs for Object.Equals, then click on the instance method
rather than the static method. Under the list of bullet points, it has:
"See GetHashCode for additional required behaviors pertaining to the
Equals method." It also has (a few lines later): "Types that override
Equals must also override GetHashCode; otherwise, Hashtable might not
work correctly."
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too