How would I go about doing this with a List using lambda
List<Foo> list....// create and add a bunch of Foo
int seconds = 100;
list.FindAll(x=>(x.Seconds == 0).Seconds = seconds) // yes I know that wont work...
In other words, find all of the foo objects that Seconds == 0 and change the value to my local variable...
I don't want to loop the list...I am sure there is a way to do this with a simple lambda method...
Any help appreciated
Oneway