【发布时间】:2013-12-04 06:15:47
【问题描述】:
我有以下集合类
public class Customer
{
public int Id{get;set}
public DateTime StartTime { get; protected set; }
public IList<ShoppingList> shoppingList{ get; protected set; }
}
public class shoppingList
{
public int price{get;set;}
public int Id{get;set;}
public string name {get;set;}
}
现在我有列表客户
如何将其转换为嵌套数组,以便获取每个客户的购物清单。
【问题讨论】:
标签: c# arrays linq datetime virtual