【发布时间】:2017-08-11 18:34:46
【问题描述】:
如何将下面的 fieldList 数组转换为 Dictionary<string,column> (i.e. Dictionary of name property of column class as key and value property of dictionary as column object) 的字典。
public class columninfo
{
public string name {get;set;}
public column[] fieldList {get;set;}
}
public class column
{
public string name {get;set;}
public string fieldname {get;set}
public string format {get;set;}
}
【问题讨论】:
标签: c# linq dictionary c#-6.0