Linq distinct not working correctly

前端 未结 2 1013
一个人的身影
一个人的身影 2020-12-21 06:24

I\'m having a strange problem with a linq query. I\'m using LINQPad 4 to make some a query that uses regular expression using LinqToSQL as the LinqPad driver.

Here\'

2条回答
  •  自闭症患者
    2020-12-21 07:00

    On the other hand, you can use .Distinct(IEqualityComparer) overload and provided EqualityComparer for the object that you want to process.

提交回复
热议问题