SyntaxFix
Write A Post
Hire A Developer
Questions
You can simply use:
List<string> items = new List<string>() { "foo", "boo", "john", "doe" }; Console.WriteLine(string.Join(",", items));
Happy coding!