METHOD
Enumerable.Aggregate
Folds input into an accumulator starting with a seed.
Formal Syntax & Structure
csharp syntaxcsharp
source.Aggregate(seed, func)Working Example
Example Snippetcsharp
using System;using System.Linq;int product = new[] {2,3}.Aggregate(1, (a,b) => a*b);