I\'d like to do the equivalent of the following in LINQ, but I can\'t figure out how:
IEnumerable items = GetItems(); items.ForEach(i => i.DoS
Many people mentioned it, but I had to write it down. Isn't this most clear/most readable?
IEnumerable items = GetItems(); foreach (var item in items) item.DoStuff();
Short and simple(st).