c# join strings list in one string code example Example: c# list to string join String.Join(" ", elements)