ArrayExtensionsFillBoundsT Method

Fills the indices (or columns) of the specified index bound (or row) of the source array, using the given collection of elements.

Definition

Namespace: DevCase.Extensions.ArrayExtensions
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static void FillBounds<T>(
	this ref T[,] sender,
	int boundIndex,
	T[] array
)

Parameters

sender  T
The source array.
boundIndex  Int32
The bound index (or row) of the first dimension in the source array.
array  T

[Missing <param name="array"/> documentation for "M:DevCase.Extensions.ArrayExtensions.ArrayExtensions.FillBounds``1(``0[0:,0:]@,System.Int32,``0[])"]

Type Parameters

T
The Type of the source array.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type T. 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).

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

IndexOutOfRangeException The specified 'boundIndex' value is greater than the bounds of the first dimension in the source array. or The amount of elements in 'collection' is greater than the bounds of the second dimension in the source array.

See Also