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
To stay fluent one can use such a trick:
GetItems() .Select(i => new Action(i.DoStuf))) .Aggregate((a, b) => a + b) .Invoke();