how to execute a function in every object of list csharp

Code Example - how to execute a function in every object of list csharp

                
                        items.ForEach(item => item.SomeMethod())