Aggregator methods return a single value calculated from all the elements in a sequence. the aggregator methods include Count
, Sum
, Min
, Max
, Average
, and Aggregate
.
This sample uses Max
to get the highest number in an array.
This sample uses Max
to get the length of the longest word in an array.
This sample uses Max
to get the most expensive price among each category's products.
This sample uses Max
to get the products with the most expensive price in each category.
Next: Aggregates-Average » Previous: Aggregates-Min »