String.Join Method (String, String)
Concatenates all the elements of a string array, using the specified separator between each element.
Assembly: mscorlib (in mscorlib.dll)
static member Join : separator:string * [<ParamArrayAttribute>] value:string -> string
The string to use as a separator. separator is included in the returned string only if value has more than one element.
An array that contains the elements to concatenate.
For example, if separator is ", " and the elements of value are "apple", "orange", "grape", and "pear", Join(separator, value) returns "apple, orange, grape, pear".
If separator is null, an empty string (String.Empty) is used instead. If any element in value is null, an empty string is used instead.
Available since 4.5
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1