✅ Should I implement `IEqualityOperators` for a record?
It makes me wonder why the compiler doesn't automatically implement
IEqualityOperators
for all record types even though it already automatically overloads operator==
and operator!=
for all record types.1 Reply
https://github.com/dotnet/csharplang/discussions/7221
if you have a requirement for
IEqualityOperators
anywhere, then you can add that interface
otherwise i see no reason