我已经写了下面问题在使用LINQ(C#3.0)
return (from p in returnObject.Portfolios.ToList()
from childData in p.ChildData.ToList()
from retuns in p.Returns.ToList()
select new Dictionary<DateTime, double>()
{ p.EndDate, retuns.Value }
).ToDictionary<DateTime,double>();
获取错误
否过载对方法 '添加' 取“1 “论据
当我作出错误
我使用C#3.0
感谢