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 s
12

String.Join(delimiter, list);

is sufficient.

Leave a Reply

Your email address will not be published. Required fields are marked *