Edit

Share via


ReadOnlySpan2D<T>.ToArray Method

Definition

Copies the contents of the current Span2D<T> instance into a new 2D array.

public T[,] ToArray ();
member this.ToArray : unit -> 'T[,]
Public Function ToArray () As T(,)

Returns

T[,]

A 2D array containing the data in the current Span2D<T> instance.

Applies to