|
by skeet via Jon Skeet: Coding Blog on 1/1/2011 6:20:46 PM
Okay, after the brief hiatus earlier, we're ready to group sequences. What is it? GroupBy has eight overloads, using up to four type parameters and up to five normal parameters. Those of a sensitive disposition may wish to turn away now: public static IEnumerable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>( this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) public static IEnu
... [ read more ]
|
|