📅  最后修改于: 2022-03-11 14:48:32.359000             🧑  作者: Mango
IEnumerable names = GetNames();
foreach (var name in names)
Console.WriteLine("Found " + name);
var allNames = new StringBuilder();
foreach (var name in names)
allNames.Append(name + " ");