Click or drag to resize

coordinateBindCoordinateBindT Method (Array)

Binds the elements in an Array to their coordinates.

Namespace:  WhetStone.Looping
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public static IEnumerable<Tuple<T, int[]>> CoordinateBind<T>(
	this Array this
)

Parameters

this
Type: SystemArray
The Array whose elements to use.

Type Parameters

T
The type of the Array.

Return Value

Type: IEnumerableTupleT, Int32
A new IEnumerableT of TupleT1, T2. The first element of each tuple is the element, the second is the coordinates.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Array. 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).
Remarks
This is a generic overload, to use weak typing, see CoordinateBindT(Array).
See Also