Click or drag to resize

selectSelectT, R Method (ICollectionT, FuncT, R)

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static ICollection<R> Select<T, R>(
	this ICollection<T> this,
	Func<T, R> selector
)

Parameters

this
Type: System.Collections.GenericICollectionT
The ICollectionT to map.
selector
Type: SystemFuncT, R
The mapping function.

Type Parameters

T
The type of the original ICollectionT.
R
The type of the returned ICollectionT.

Return Value

Type: ICollectionR
A read-only ICollectionT with selector applied on this's elements.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICollectionT. 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