Enumerable.Aggregate Method

Applies an accumulator function over a sequence.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Aggregate<TSource>(IEnumerable<TSource>, Func<TSource, TSource, TSource>) Applies an accumulator function over a sequence.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Aggregate<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.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library Aggregate<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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft