c# string join list object by parameter code example Example: c# list to string join String.Join(" ", elements)