As other posters have noted, you can use List.ForEach
.
However, you can easily write an extension method that allows you to use ForEach on any IEnumerable
public static void ForEach(this IEnumerable source, Action action)
{
foreach(T item in source)
action(item);
}
Which means you can now do:
myList.Where( ... ).ForEach( ... );