There is already a method for this:
String.Join(" ", array)
This places a space between each element. Please note that if any of your elements is an empty string, you fall into areas adjacent to each other, so you might want to filter them ahead of time, for example:
String.Join(" ", array.Where(s => !String.IsNullOrEmpty(s)))
Guffa source share