string.concat array separator code example Example: c# list to string join String.Join(" ", elements)