Enumerable.Aggregate Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAggregate<TSource>(IEnumerable<TSource>, Func<TSource, TSource, TSource>)

Applies an accumulator function over a sequence.

System_CAPS_pubmethodSystem_CAPS_staticAggregate<TSource, TAccumulate>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>)

Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value.

System_CAPS_pubmethodSystem_CAPS_staticAggregate<TSource, TAccumulate, TResult>(IEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>, Func<TAccumulate, TResult>)

Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.

Return to top
Show: