This question is not about the differences between == and Equals . This is about why they were different.
We know that the differences cause a lot of problems that must have been pretty easy to spot:
Equals and == give different results for two instances of the same object.== give different results when comparing subclasses, since == not polymorphic
c #
Thomas Eyde
source share