ArrayExtensions.ToArrayString Method

Definition

Overloads

ToArrayString<T>(T[,])

Returns a simple string representation of a 2D array.

ToArrayString<T>(T[])

Returns a simple string representation of an array.

ToArrayString<T>(T[][])

Returns a simple string representation of a jagged array.

ToArrayString<T>(T[,])

Returns a simple string representation of a 2D array.

public static string ToArrayString<T> (this T?[,] array);
static member ToArrayString : 'T[,] -> string
<Extension()>
Public Function ToArrayString(Of T) (array As T(,)) As String

Type Parameters

T

The element type of the array.

Parameters

array
T[,]

The source array.

Returns

The String representation of the array.

Applies to

ToArrayString<T>(T[])

Returns a simple string representation of an array.

public static string ToArrayString<T> (this T?[] array);
static member ToArrayString : 'T[] -> string
<Extension()>
Public Function ToArrayString(Of T) (array As T()) As String

Type Parameters

T

The element type of the array.

Parameters

array
T[]

The source array.

Returns

The String representation of the array.

Applies to

ToArrayString<T>(T[][])

Returns a simple string representation of a jagged array.

public static string ToArrayString<T> (this T?[][] mdarray);
static member ToArrayString : 'T[][] -> string
<Extension()>
Public Function ToArrayString(Of T) (mdarray As T()()) As String

Type Parameters

T

The element type of the array.

Parameters

mdarray
T[][]

The source array.

Returns

String representation of the array.

Applies to