c# ienumerable wrap to know when its compltee code example
Example: c# ienumerable wrap to know when its compltee
IEnumerable<string> names = GetNames();
foreach (var name in names)
Console.WriteLine("Found " + name);
var allNames = new StringBuilder();
foreach (var name in names)
allNames.Append(name + " ");