Linq: Aggregate

Aggregate累加器 今天看东西的时候看见这么个扩展方法Aggregate(累加器)很是陌生,于是乎查了查,随手记录一下。 直接看一个最简答的版本,其他版本基本没什么区别,需要的时候可看一下 public static TSource Aggregate<TSource>( this IEnumerable<TSource> source, Func<TSource, TSource, TSo
相关文章
相关标签/搜索