我試圖讓選擇按鈕的其餘部分在此LINQ查詢,但智能感知是給我一個錯誤如何獲得Linq中的組中的所有選擇項By子句
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()
};
如何獲得那些選擇鑰匙?