StringJoin Method (String, String) |
Concatenates all the elements of a string array, using the specified separator between each element.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax 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:
StringA string that consists of the elements in
value delimited by the
separator string. If
value is an empty array, the method returns
Empty.
Exceptions See Also