ReadOnlyMemory2D<T>.ToArray Method

Definition

Copies the contents of the current ReadOnlyMemory2D<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 ReadOnlyMemory2D<T> instance.

Applies to