Given a class:
class foo { public string a = \"\"; public int b = 0; }
Then a generic list of them:
var list = new List
list.ForEach(lamba=>lambda.a="hello!");
Becomes
list.ForEach(item=>{ item.a = "hello!"; item.b = 99; });
Of course you can also assign them when you create the list like :
var list = new List(new []{new foo(){a="hello!",b=99}, new foo(){a="hello2",b=88}});