IEnumerable(string).Join

public static string Join(this IEnumerable<string> source, string separator) => String.Join(separator, source);
Example:
var strings = new List<string> { "Ace", "Bil", "Cal", "Dan" };

var everyone = strings.Join(", "); // returns "Ace, Bil, Cal, Dan"

Description

Joins a series of strings connected by a separator.

Details

Double click on the code to select all.

 

;