Click or drag to resize

ExtensionsSliceRowT Method

Returns the elements of the second dimension of a multidimensional array

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static IEnumerable<T> SliceRow<T>(
	this T[,] array,
	int row
)

Parameters

array
Type: T
The array to get the dimension from
row
Type: SystemInt32
The first dimension of the array

Type Parameters

T
The type that is contained in the array

Return Value

Type: IEnumerableT
The second dimension of the array depending on the row

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).
See Also