Click or drag to resize
StringJoin Method (String, String)
Concatenates all the elements of a string array, using the specified separator between each element.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static string Join(
	string separator,
	params string[] value
)

Parameters

separator
Type: SystemString
The string to use as a separator.
value
Type: SystemString
An array that contains the elements to concatenate.

Return Value

Type: String
A string that consists of the elements in value delimited by the separator string. If value is an empty array, the method returns Empty.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is null.
See Also