'Declaration Public Shared Function Select (Of T,TR)( _ ByVal items As IEnumerable(Of T), _ ByVal selector As Func(Of T,Boolean,Boolean,TR) _ ) As IEnumerable(Of TR)
public static IEnumerable<TR> Select<T,TR>( IEnumerable<T> items, Func<T,bool,bool,TR> selector )
Parameters
- items
- The sequence of elements to project.
- selector
- A transform function to apply to each element; the second and third parameters of the function represent whether the element is the first and last in the sequence, respectively.
Type Parameters
- T
- The type of the elements of the input sequence.
- TR
- The type of the elements of the result sequence.
Return Value
returns sequence from first to last marker