Edit

Share via


ArrayExtensions.GetRow<T>(T[,], Int32) Method

Definition

Yields a row from a rectangular array.

public static System.Collections.Generic.IEnumerable<T> GetRow<T>(this T[,] rectarray, int row);
static member GetRow : 'T[,] * int -> seq<'T>
<Extension()>
Public Iterator Function GetRow(Of T) (rectarray As T(,), row As Integer) As IEnumerable(Of T)

Type Parameters

T

The element type of the array.

Parameters

rectarray
T[,]

The source array.

row
Int32

Row record to retrieve, 0-based index.

Returns

Yielded row.

Applies to