第180页,倒数第三行。
英文原文:
If you overload == and !=, you must also override the Equals() and GetHashCode() methods inherited from System.Object;
中文译文:
在重载“==”和“!=”时,还必须重载(应该是:重写)从System.Object中继承的Equals()和GetHashCode()方法。
转载于:https://blog.51cto.com/3677403/1430326