Since I still have a limited knowledge of LINQ, I figured I would ask how to simplify this action. I am trying to write a statment that selects Customers from a list and performs some action on the results.
Say I have:
public List<Customer> Customers
Customers.FindAll(delegate(Customer c) { return c.Category == "A"; });
Now say I want to take all of those customers that have Category == "A" and print their c.Names or set c.Value = "High".
Is there a quick way to accomplish this without having to place the results in another list and iterate over each one?