© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
3 replies
palapapa

✅ Should I implement `IEqualityOperators` for a record?

It makes me wonder why the compiler doesn't automatically implement
IEqualityOperators
IEqualityOperators
for all record types even though it already automatically overloads
operator==
operator==
and
operator!=
operator!=
for all record types.
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

❔ ✅ Using generics that implement IEqualityOperators results in ambiguous call to the == operator
C#CC# / help
3y ago
❔ How would I implement a toroidal universe?
C#CC# / help
3y ago
✅ Record for ensuring parameters
C#CC# / help
3y ago
❔ I have a project and I need to implement a functionality to create a membership for users
C#CC# / help
3y ago