Executing a certain action for all elements in an Enumerable March 31, 2023 by Tarik A quick-and-easy way to get this is: Names.ToList().ForEach(e => ...);