I'd like to do the equivalent of the following in LINQ, but I can't figure out how:
(我想在LINQ中执行以下操作,但是我不知道如何操作:)
IEnumerable<Item> items = GetItems();
items.ForEach(i => i.DoStuff());
What is the real syntax?
(真正的语法是什么?)
ask by tags2k translate from so