Is it possible to set property on each element from List using LINQ.
for example:
var users = from u in context.Users where u.Name == "George" select u;
foreach (User us in users){
us.MyProp = false;
}
Is it possible to make it cleaner ?
See Question&Answers more detail:os