GroupJoin with outer range variable

suggest change
Customer[] customers = Customers.ToArray();
Purchase[] purchases = Purchases.ToArray();

var groupJoinQuery =
    from c in customers
    join p in purchases on c.ID equals p.CustomerID
    into custPurchases
    select new
    {
        CustName = c.Name,
        custPurchases
    };

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents