c# concatenate list of strings with separator code example Example: c# list to string join String.Join(" ", elements)