StringJoin Method (String, Object) |
Concatenates the elements of an object 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 Object[] values
)
Parameters
- separator
- Type: SystemString
The string to use as a separator. - values
- Type: SystemObject
An array that contains the elements to concatenate.
Return Value
Type:
StringA string that consists of the elements of
values delimited by the
separator string. If
values is an empty array, the method returns
Empty.
Exceptions See Also