📜  c# ienumerable wrap 知道它何时完成 - TypeScript 代码示例

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

代码示例1
IEnumerable names = GetNames();
foreach (var name in names)
    Console.WriteLine("Found " + name);
var allNames = new StringBuilder();
foreach (var name in names)
    allNames.Append(name + " ");