c# foreach multiple actions code example
Example 1: c# list foreach lambda multiple actions
list.ForEach(i => { i.a = "hello!"; i.b = 99; });
Example 2: list.ForEach(i => { i.a = "hello!"; i.b = 99; });
ist.ForEach(i => { i.a = "hello!"; i.b = 99; });