You could use ForEach, but you have to convert the IEnumerable<T> to a List<T> first.
list.Where(w => w.Name == "height").ToList().ForEach(s => s.Value = 30);
You could use ForEach, but you have to convert the IEnumerable<T> to a List<T> first.
list.Where(w => w.Name == "height").ToList().ForEach(s => s.Value = 30);