Warning: “… overrides Object.Equals(object o) but does not override Object.GetHashCode()”

后端 未结 0 1246
滥情空心
滥情空心 2021-02-11 19:24

I overrode the Equals() of my class to compare ID values of type Guid.

Then Visual Studio warned:

... overrides Object.Equals(object o) but does

相关标签:
回答
  • 消灭零回复
提交回复
热议问题