How can I get LINQ to return the object which has the max value for a given property?
42872
How to perform .Max() on a property of all objects in a collection and return the object with maximum value
135260
This code returns distinct values. However, what I want is to return a strongly typed collection as opposed to an anonymous type
5418
c# foreach (property in object)... Is there a simple way of doing this?
98335
How do I get the MAX row with a GROUP BY in LINQ query?
110196
Get dict key by max value
122753
Issues Doing a String Comparison in LINQ
79086
LINQ: From a list of type T, retrieve only objects of a certain subclass S
142602
Linq OrderBy does not sort a List. How do I sort the list?
79870
Apply function to all elements of collection through LINQ
5968
Getting key with maximum value in dictionary?
7857
Getting a collection of index values using a LINQ query
24761
Is there a built-in function to print all the current properties and values of an object?
118600
Objects of a specific type in foreach from an IEnumerable
124638
Search nested object for property
151174
Sorting a list using Lambda/Linq to objects
32425
'Contains()' workaround using Linq to Entities?
16710
Filtering the line with the largest value for a given ID