AlgorithmsFillT Method (IListT, T) |
Replaces each item in a list with a given value. The list does not change in size.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static void Fill<T>(
IList<T> list,
T value
)
public:
generic<typename T>
static void Fill(
IList<T>^ list,
T value
)
Parameters
- list
- Type: System.Collections.GenericIListT
The list to modify. - value
- Type: T
The value to fill with.
Type Parameters
- T
- The type of items in the list.
Exceptions
See Also