我正在尝试获取此 linq 查询中的其余选择键,但智能感知给了我一个错误
var query2 = from row2 in query1
group row2 by row2.questionid into g
where g.Count() > 0
select new
{
questionid1, //Error here
time, //Error here
thecount = g.Count()
};
我如何获得这些选择键?