Skip to content
Discussion options

You must be logged in to vote

For any type Foo that implements IEquatable<Foo> you can use EqualityComparer<Foo>.Default to get an instance of IEqualityComparer<Foo> for that type; I don't think records need to implement their own.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YairHalberstadt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3790 on December 08, 2020 13:57.