AlgorithmsFillRangeT Method (IListT, Int32, Int32, T) |
Replaces each item in a part of a list with a given value.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static void FillRange<T>(
IList<T> list,
int start,
int count,
T value
)
public:
generic<typename T>
static void FillRange(
IList<T>^ list,
int start,
int count,
T value
)
Parameters
- list
- Type: System.Collections.GenericIListT
The list to modify. - start
- Type: SystemInt32
The index at which to start filling. The first index in the list has index 0. - count
- Type: SystemInt32
The number of items to fill. - value
- Type: T
The value to fill with.
Type Parameters
- T
- The type of items in the list.
Exceptions
See Also