Aggregation Operators
Aggregation operators allow performing simple mathematic calculations on a sequence’s items using the Aggregate
and Into
clauses. The combination of such clauses can affect the following methods:
Sum
, which returns the sum of values of the specified property for each item in the collection
Average
, which returns the average calculation of values of the specified property for each item in the collection
Count
and LongCount
Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.