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

后端 未结 0 582
旧巷少年郎
旧巷少年郎 2021-02-11 19:16

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

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