Lets just say you have a collection of objects. Maybe a List<Customer> and each customer has a List<Order> and you want to get all orders in California. How will you access the inner lists?
var orders = (from c in Customer.OrderList
from o in c.OrderList
select o).Where(o => o.State == "CA");
Posted
29 May 2009 3:27 AM
by
Gal Ratner