How to combine two flat lists into one nested object
问题 I have three lists which contains three same properties in each collection. I want to combine a result into one collection. Ex classes structure is as below public class Order { public int ProductId { get; set; } public int CustomerId { get; set; } public int OrderId { get; set; } // Few other Properties of OrderDetail } public class PaymentDetail { public int ProductId { get; set; } public int CustomerId { get; set; } public int OrderId { get; set; } // Few other Properties form