Click or drag to resize

ExtToStringT Method

Converts the specified array to a String.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public static string ToString<T>(
	this T[] array,
	string separator
)

Parameters

array
Type: T
An array of T to convert.
separator
Type: SystemString
A String used to separate each element of array.

Type Parameters

T
The type of elements in array.

Return Value

Type: String

A String converted by concatenating each element of array across separator.

An empty string if array is an empty array.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is .
See Also