Enumerable.Aggregate Method

 

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: