Fills the array with the defaultValue from index to index + length.

Namespace: VVVV.Utils
Assembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871

Syntax

C#
public static void Fill<T>(
	this T[] array,
	int index,
	int length,
	T defaultVaue
)

Parameters

array
Type: array<T>[]()[][]
The array to fill.
index
Type: System..::..Int32
The index into the array where the fill operation starts.
length
Type: System..::..Int32
The fill operation ends at index + length.
defaultVaue
Type: T
The value to fill the array with.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:VVVV.Utils.ArrayExtensions.Fill``1(``0[],System.Int32,System.Int32,``0)"]

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 or .

See Also