Concat all strings inside a List<string> using LINQ
Asked 07 September, 2021
Viewed 2.9K times
  • 58
Votes

Is there any easy LINQ expression to concatenate my entire List<string> collection items to a single string with a delimiter character?

What if the collection is of custom objects instead of string? Imagine I need to concatenate on object.Name.

12 Answer