Span<T>.Fill(T) Span<T>.Fill(T) Span<T>.Fill(T) Span<T>.Fill(T) Method

Definition

Fills the elements of this span with a specified value.

public:
 void Fill(T value);
public void Fill (T value);
member this.Fill : 'T -> unit
Public Sub Fill (value As T)
Parameters
value
T T T T

The value to assign to each element of the span.

Applies to