Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

String.Join Method

Concatenates the elements of a specified array or the members of a collection, using the specified separator between each element or member.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Join(String, IEnumerable<String>) Concatenates the members of a constructed IEnumerable<T> collection of type String, using the specified separator between each member.
Public method Static member Join<T>(String, IEnumerable<T>) Concatenates the members of a collection, using the specified separator between each member.
Public method Static member Join(String, Object[]) Concatenates the elements of an object array, using the specified separator between each element.
Public method Static member Join(String, String[]) Concatenates all the elements of a string array, using the specified separator between each element.
Public method Static member Join(String, String[], Int32, Int32) Concatenates the specified elements of a string array, using the specified separator between each element.
Top

Community Additions

ADD
Show:
© 2015 Microsoft