 | fillFillT Method (Int32, T) |
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,
params T[] filler
)
Parameters
- length
- Type: SystemInt32
The length of the resultant array. - filler
- Type: T
The values to fill the array with, they will repeat.
Type Parameters
- T
- The type of the created array.
Return Value
Type:
TA new
Array of length
length, with values in the filled to
filler
See Also