[]
        
(Showing Draft Content)

C1.LiveLinq.IndexedQueryExtensions.Select

Select Method

Select<TSource, TResult>(IIndexedSource<TSource>, Expression<Func<TSource, TResult>>)

Projects each element of a collection into a new form.

Declaration
public static IIndexedSource<TResult> Select<TSource, TResult>(this IIndexedSource<TSource> source, Expression<Func<TSource, TResult>> selector)
Parameters
Type Name Description
IIndexedSource<TSource> source

An IIndexedSource<TSource> collection of values to invoke a transform function on.

Expression<Func<TSource, TResult>> selector

A transform function to apply to each element.

Returns
Type Description
IIndexedSource<TResult>

An IIndexedSource<TResult> whose elements are the result of invoking the transform function on each element of source.

Type Parameters
Name Description
TSource

The type of the elements of source.

TResult

The type of the value returned by selector.