Aggregate Applies an accumulator function over a sequence.
int[] intList = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
int sum = intList.Aggregate((prevSum, current) => prevSum + current);
// sum = 55
At the first step prevSum = 1
At the second prevSum = prevSum(at the first step) + 2
At the i-t...