Concatenate an array of strings into a single string

suggest change

The System.String.Join method concatenates the elements of a string array, with a separator between each element:

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

Feedback about page:

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



Table Of Contents