Link to home
Start Free TrialLog in
Avatar of JElster
JElsterFlag for United States of America

asked on

C# LINQ - How to update an object

Hi..
I have a collection of customers   -   List<Customers>

The Customer object has a  VIP property

What is the syntax to update the Customer who's name is 'SMITH' with the VIP flag = true;

How do I  select on the List, Find 'Smith' and change his flag?
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial