ListExtensions..::..Select<(Of <(<'TSource, TResult>)>)> Method

Selects the specified selector.

Namespace:  MichaelBrandonMorris.Extensions.CollectionExtensions
Assembly:  MichaelBrandonMorris.Extensions.CollectionExtensions (in MichaelBrandonMorris.Extensions.CollectionExtensions.dll)

Syntax


public static IList<TResult> Select<TSource, TResult>(
	IList<TSource> source,
	Func<TSource, TResult> selector
)
Public Shared Function Select(Of TSource, TResult) ( _
	source As IList(Of TSource), _
	selector As Func(Of TSource, TResult) _
) As IList(Of TResult)
public:
generic<typename TSource, typename TResult>
static IList<TResult>^ Select(
	IList<TSource>^ source, 
	Func<TSource, TResult>^ selector
)

Type Parameters

TSource
The type of the t source.
TResult
The type of the t result.

Parameters

source
Type: IList<(Of <(<'TSource>)>)>
The source.
selector
Type: Func<(Of <(<'TSource, TResult>)>)>
The selector.

Return Value

IList<TResult>.