Table of Contents

Method Fill

Namespace
Zyl.ExSpans.Impl
Assembly
ExSpans.Core.dll

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 T

The value to assign to each array element.

Type Parameters

T

The type of the elements in the array.