© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
29 replies
hanu

What's the meaning of CS0659?

'class' overrides Object.Equals(object o) but does not override Object.GetHashCode()
'class' overrides Object.Equals(object o) but does not override Object.GetHashCode()

I got this warning message but i cannot find what's the reason I should override GetHashCode. Also, how should I implement it?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ What's the point of MediatR?
C#CC# / help
3y ago
What's the purpose of MarshalByRefObject?
C#CC# / help
4y ago
✅ What's the name of this font?
C#CC# / help
3y ago