Suppose I have a list of Users and i want to update name and address for each user in list. We can do this by using this code.


(from user in userlist
select user).ToList().ForEach((user) =>
{
user.Phone="1242341237";
user.Address="Some Address";
});