jeudi 18 septembre 2014

In c#, what is the difference between equality members and an equality comparer, and which should you use?


Vote count:

0




Please explain the difference between C# equality members and an equality comparer, and how to choose which one is required, and in what circumstances they are used?


I am particularly interested in which are required for LINQ operations or other language built in comparisons within .NET operations or types - for example, Dictionary keys.


Thank you.



asked 1 min ago







In c#, what is the difference between equality members and an equality comparer, and which should you use?

Aucun commentaire:

Enregistrer un commentaire