LinQ distinct with custom comparer leaves duplicates

后端 未结 2 1410
情话喂你
情话喂你 2021-01-04 22:39

I\'ve got the following classes:

public class SupplierCategory : IEquatable
{
    public string Name { get; set; }
    public string          


        
2条回答
  •  别那么骄傲
    2021-01-04 23:11

    Actually, this issue is even covered in documentation: http://msdn.microsoft.com/en-us/library/bb338049.aspx.

提交回复
热议问题