¡@

Home 

c# Programming Glossary: morelinq

LINQ: How to perform .Max() on a property of all objects in a collection and return the object with maximum value

http://stackoverflow.com/questions/1101841/linq-how-to-perform-max-on-a-property-of-all-objects-in-a-collection-and-ret

We have an extension method to do exactly this in MoreLINQ . You can look at the implementation there but basically it's..

Linq - Top value from each group

http://stackoverflow.com/questions/1575316/linq-top-value-from-each-group

My answer is similar to Yuriy's but using MaxBy from MoreLINQ which doesn't require the comparison to be done by ints var..

Linq Distinct() use delegate for equality comparer

http://stackoverflow.com/questions/4607485/linq-distinct-use-delegate-for-equality-comparer

probably already been implemented in some places such as MoreLINQ suggested in one of the other answers. You could implement it..

Linq Distinct on a particular Property

http://stackoverflow.com/questions/489258/linq-distinct-on-a-particular-property

share improve this question EDIT This is now part of MoreLINQ . What you need is a distinct by effectively. I don't believe..

Why is there no Linq method to return distinct values by a predicate?

http://stackoverflow.com/questions/520030/why-is-there-no-linq-method-to-return-distinct-values-by-a-predicate

question It's annoying certainly. It's also part of my MoreLINQ project which I must pay some attention to at some point There..

Apply function to all elements of collection through LINQ

http://stackoverflow.com/questions/823532/apply-function-to-all-elements-of-collection-through-linq

method on IEnumerable T . Here's the one we've got in MoreLINQ public static void ForEach T this IEnumerable T source Action..

How to find the Mode in Array C#?

http://stackoverflow.com/questions/8260555/how-to-find-the-mode-in-array-c

maxCount .Key You could also use the MaxBy extension from MoreLINQ method to further improve the solution so that it only requires..