'Declaration Public Shared Function SelectWithNext (Of TSource,TResult)( _ ByVal source As IEnumerable(Of TSource), _ ByVal projection As Func(Of TSource,TSource,TResult) _ ) As IEnumerable(Of TResult)
public static IEnumerable<TResult> SelectWithNext<TSource,TResult>( IEnumerable<TSource> source, Func<TSource,TSource,TResult> projection )
Parameters
- source
- Source collection.
- projection
- Projection function (x,y) -> z, where x is current item and y is next.
Type Parameters
- TSource
- Type of collection item.
- TResult
- Type of result collection item.