Linq: Aggregate

Aggregate累加器 今天看東西的時候看見這麼個擴展方法Aggregate(累加器)很是陌生,於是乎查了查,隨手記錄一下。 直接看一個最簡答的版本,其他版本基本沒什麼區別,需要的時候可看一下 public static TSource Aggregate<TSource>( this IEnumerable<TSource> source, Func<TSource, TSource, TSo
相關文章
相關標籤/搜索