js中的写法:
var list = []; var o = {}; o.id = '111'; o.name = '222'; list.push(o);
c#中的写法:
var aList = new List<dynamic>(); dynamic o = new System.Dynamic.ExpandoObject(); o.id = "111"; o.name = "222"; aList.Add(o);