📜  c# list string return concatenate - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:11.455000             🧑  作者: Mango

代码示例1
string delimiter = ",";
List items = new List() { "foo", "boo", "john", "doe" };
Console.WriteLine(items.Aggregate((i, j) => i + delimiter + j));