Because any use of hashing to locate objects (e.g. in a Dictionary
) needs to handle hashing collisions - that is when different (unequal) objects have the same hash value.
When that happens, there needs to be a way to check objects for equality.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…