Click or drag to resize
AlgorithmsFillRangeT Method (T, Int32, Int32, T)
Replaces each item in a part of a array with a given value.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static void FillRange<T>(
	T[] array,
	int start,
	int count,
	T value
)

Parameters

array
Type: T
The array to modify.
start
Type: SystemInt32
The index at which to start filling. The first index in the array has index 0.
count
Type: SystemInt32
The number of items to fill.
value
Type: T
The value to fill with.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:X3Platform.Collections.Algorithms.FillRange``1(``0[],System.Int32,System.Int32,``0)"]

Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionstart or count is negative, or start + count is greater than array.Length.
ArgumentNullExceptionarray is null.
See Also