Overriding Equals and GetHashCode is easy, but implementing them correctly is not. As Jonathan Allen says in his excellent article A Detailed look at Overriding the Equality Operator, "It is surprisingly easy to make a mistake when overriding the equality operator. Not only does the equality operato...
[More]