Concatenate an array of strings into a single string

suggest change

The System.String.Join method allows to concatenate all elements in a string array, using a specified separator between each element:

string[] words = {"One", "Two", "Three", "Four"};
string singleString = String.Join(",", words); // singleString = "One,Two,Three,Four"

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents