Click or drag to resize
StringJoin Method (String, IEnumerableString)

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static string Join(
	string separator,
	IEnumerable<string> values
)

Parameters

separator
Type: SystemString
The string to use as a separator.
values
Type: System.Collections.GenericIEnumerableString
A collection that contains the strings to concatenate.

Return Value

Type: String
A string that consists of the members of values delimited by the separator string. If values has no members, the method returns Empty.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalues is null.
See Also