3 ms·
> System.Linq — DistinctBy/UnionBy/IntersectBy/ExceptBy I'm excited by having these built in. I always found it awkward to need to do: `.GroupBy(item => item.P
by mmpdev 5y ago
> System.Linq — DistinctBy/UnionBy/IntersectBy/ExceptBy
I'm excited by having these built in. I always found it awkward to need to do: `.GroupBy(item => item.Property).Select(group => group.First())`.
- jackdh 5y agoWhole bunch of other good stuff for Linq users! https://devblogs.microsoft.com/dotnet/announcing-net-6/#system-linq-enumerable-support-for-index-and-range-parameters https://devblogs.microsoft.com/dotnet/announcing-net-6/#syst...
- Lord_Zero 5y agoI have been using https://morelinq.github.io/ https://morelinq.github.io/ for a long time for all the above and more.