ArrayExtensions.GetRow<T>(T[,], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.