Joining an array of strings into a new one
suggest changevar parts = new[] { "Foo", "Bar", "Fizz", "Buzz"};
var joined = string.Join(", ", parts);
// joined = "Foo, Bar, Fizz, Buzz"
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents