set field in list linq

92

set field in list linq -

collection.ToList().ForEach(c => c.PropertyToSet = value);

Comments

Submit
0 Comments