#412 – Guidelines when Overloading == Operator for a Value Type
September 15, 2011 Leave a comment
When you overload the == operator for a value type, you should also:
- Overload != operator
- Override Equals method
- Overload < and > operators
This is also true for reference types.