I have a collection of objects that I group with a L2O linq query.
The results of that query are as follows:

Now, I want to transform this query into a query that returns the highest number of each key.
The only thing I got until now is the following:
var orderStuff = from i in collection
group i by i.Letter;
But I am having a real hard time to expand on this.
Your query returns a set of
IGrouping<String, int>. This type has aKeyproperty with the group’s label, and inheritsIEnumerable<int>containing the items in the group.You want to select the
Max()of each group.For example: