List<Smth> smth = ... foreach (var s in smth) { s.field1 = ""; s.field2 = 10; }
from s in smth set s.field1 = "", s.field2 = 10;