News for hackers. Stuff that matters.
Re:Best Practices for Linq Enumerables and Queryables by SimonB86 on Friday August 24, 2012 @12:47PM (#4428357)
The corresponding extension method syntax is:

  var filteredCustomers = customers
      .Join(orders,
          c => c.customerid,
          o => o.customerid,
          (c, o) => new { Customer = c, Order = o }
      )
      .Where(x => x.Customer.IsMale && x.Customer.Age > 30)
      .Where(x => x.Order.IsPending);

There are no comments on this comment yet.