set field in list linq
Code Example - set field in list linq
collection.ToList().ForEach(c => c.PropertyToSet = value);
collection.ToList().ForEach(c => c.PropertyToSet = value);