using System.Collections.Generic;
public string customerName;
public List<Order> orders;
public static void Main()
List<Customer> _customers = new List<Customer>
new Customer{customerId = 1, customerName="1"},
new Customer{customerId = 2, customerName="2"},
new Customer{customerId = 3, customerName="3"},
List<Order> _orders = new List<Order>
new Order{customerId=1,orderId=1},
new Order{customerId=1,orderId=2},
new Order{customerId=2,orderId=1},
new Order{customerId=2,orderId=2},
List<Customer> result = _customers.GroupJoin(_orders,
customerId = c.customerId,
customerName = c.customerName,