Sequence Select TSource, TResult  Method (ISequence TSource , Func TSource, TResult )A Sandcastle Documented Class Library
Projects each element of a sequence into a new sequence.

Namespace: Sequences
Assembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax
public static ISequence<TResult> Select<TSource, TResult>(
	this ISequence<TSource> source,
	Func<TSource, TResult> selector
)

Parameters

source
Type: Sequences ISequence TSource 
A sequence of values to invoke a transform function on.
selector
Type: System Func TSource, TResult 
A transform function to apply to each element.
Type Parameters
TSource
The type of the elements of source.
TResult
The type of the elements returned by selector.

Return Value

Type: ISequence TResult 
A sequence whose elements are the result of invoking the transform function on each element of source.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ISequence TSource . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also