KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Consider the following code: string[] s = new[] { "Rob", "Jane", "Freddy" }; string joined = string.Join(", ", s); // joined equals "Rob, Jane, Freddy" For UI reasons I might well want to display the string "Rob, Jane or Freddy" . Any suggestions about the most concise way to do this? Edit I am looking for something that is concise to type. Since I am only concatenating small numbers (<10) of strings I am not worried about run-time performance here.
Tags (comma-separated)
Save Edits
Cancel