 | fillFillT Method (Int32, T, Int32, NullableInt32) |
Creates an
Array and fills it with values.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntaxpublic static T[] Fill<T>(
int length,
T[] filler,
int start,
Nullable<int> count = null
)
Parameters
- length
- Type: SystemInt32
The length of the resultant array. - filler
- Type: T
The values to fill the array with, they will repeat. - start
- Type: SystemInt32
The first index to be filled. - count (Optional)
- Type: SystemNullableInt32
The number of indices to be filled, or to continue filling to the end of the IListT.
Type Parameters
- T
- The type of the created array.
Return Value
Type:
TA new
Array of length
length, with values in the appropriated indices filled to
filler
See Also