Is there a way to call a method on every object in a List - e.g.
Instead of
List<MyClass> items = setup();
foreach (MyClass item in items)
item.SomeMethod();
You could do something like
foreach(items).SomeMethod();
Anything built in, extension methods, or am I just being too damn lazy?