Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
First of all: to work correctly with hash collections (of the Dictionary type), namely, when used as a key. Their internal logic assumes that if for two objects Equals
returns true
, then the values returned GetHashCode
must be equal. If this is not the case, then the collection will not work correctly: for example, it will not find values by key, although they are there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question