Saturday, December 25, 2010

Lambda expression To get a customer names who placed orders in the month of May

IEnumerable filtered = oCustomer.Where(n => n.Orders [0].Month.Equals("May"))

.Select(n => n.Name);

No comments:

Post a Comment