Virtual Photonics
2D array overload of the LINQ Select operator with x and y indexers
Namespace: Vts.ExtensionsAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
public static IEnumerable<TResult> Select<T, TResult>(
this T[,] my2DArray,
Func<T, int, int, TResult> myFunc
)
public static IEnumerable<TResult> Select<T, TResult>(
this T[,] my2DArray,
Func<T, int, int, TResult> myFunc
)
<ExtensionAttribute>
Public Shared Function Select(Of T, TResult) (
my2DArray As T(,),
myFunc As Func(Of T, Integer, Integer, TResult)
) As IEnumerable(Of TResult)
<ExtensionAttribute>
Public Shared Function Select(Of T, TResult) (
my2DArray As T(,),
myFunc As Func(Of T, Integer, Integer, TResult)
) As IEnumerable(Of TResult)
public:
[ExtensionAttribute]
generic<typename T, typename TResult>
static IEnumerable<TResult>^ Select(
array<T,2>^ my2DArray,
Func<T, int, int, TResult>^ myFunc
)
public:
[ExtensionAttribute]
generic<typename T, typename TResult>
static IEnumerable<TResult>^ Select(
array<T,2>^ my2DArray,
Func<T, int, int, TResult>^ myFunc
)
- T
- TResult
Return Value
Type:
IEnumerable TResult Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . 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).