EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

Enumerable.Aggregate Method

May 11, 2014

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.

  NameDescription
Public method Static member Aggregate<TSource>(IEnumerable<TSource>, Func<TSource, TSource, TSource>) Applies an accumulator function over a sequence.
Public method Static member 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 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

Afficher:
© 2014 Microsoft