お世話になります。
linqをクエリ構文で記述したいのですがうまく書けません
lang
1Dim tmp = rows.GroupBy(Function(emt) New With {Key .one = emt.Item("F_One"), Key .two=emt.Item("F_Two")}).Select(Function(emt) New With {.key = emt.Key, .cnt = emt.Count}) 2 3↓ 4 5Dim tmp = From emt In rows Group By New With {Key .one = emt.Item("F_One"), Key .two=emt.Item("F_Two")} into ...
つまずいている個所はgroup by の後のintoです
intoはvbとc#で動作が異なったりするでしょうか?
調べたコードを使用しても動作しなかったりと、
頭の中がこんがらがっております。
どなたかご助言ください。
よろしくお願いいたします。
あなたの回答
tips
プレビュー