C-DEngine 5.105

Ext..::..ToString<(Of <(<'T>)>)> Method

Converts the specified array to a String that concatenates the each element of array across the specified separator.

Namespace:  WebSocketSharp
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string ToString<T>(
	T[] array,
	string separator
)
Public Shared Function ToString(Of T) ( _
	array As T(), _
	separator As String _
) As String
public:
generic<typename T>
static String^ ToString(
	array<T>^ array, 
	String^ separator
)

Type Parameters

T
The type of elements in array.

Parameters

array
Type: array<T>[]()[][]
An array of T to convert.
separator
Type: String
A String that represents the separator string.

Return Value

A String converted from array, or Empty if array is empty.

Exceptions


ExceptionCondition
ArgumentNullExceptionarray is nullNothingnullptra null reference (Nothing in Visual Basic).