Method Fill
Fill<T>(T[], T)
Assigns the given value of type T to each element of the specified array.
public static void Fill<T>(T[] array, T value)
Parameters
array
T[]The array to be filled.
value
TThe value to assign to each array element.
Type Parameters
T
The type of the elements in the array.