[]
Proceeds each item in enumerable with its follower.
public static IEnumerable<TResult> SelectWithNext<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TSource, TResult> projection)
| Type | Name | Description |
|---|---|---|
| IEnumerable<TSource> | source | Source collection. |
| Func<TSource, TSource, TResult> | projection | Projection function (x,y) -> z, where x is current item and y is next. |
| Type | Description |
|---|---|
| IEnumerable<TResult> | result of application of a projection function to source |
| Name | Description |
|---|---|
| TSource | Type of collection item. |
| TResult | Type of result collection item. |