Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

  Name Description
Public method Static member Supported by Silverlight for Windows Phone 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 Supported by Silverlight for Windows Phone Join<T>(String, IEnumerable<T>) Concatenates the members of a string collection, using the specified separator between each member.
Public method Static member Supported by Silverlight for Windows Phone Join(String, Object[]) Concatenates the elements of an object array, using the specified separator between each element.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Join(String, String[]) Concatenates a specified separator String between each element of a specified String array, yielding a single concatenated string.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Join(String, String[], Int32, Int32) Concatenates a specified separator String between each element of a specified String array, yielding a single concatenated string. Parameters specify the first array element and number of elements to use.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft