trying to conver the following VB.net Linq to C# Linq
Dim query =
From row In dt.AsEnumerable
Group row By G = New With {.Price = row.Field(Of Double?)("price")}.Price,
New With {.Cat = row.Field(Of Integer?)("category")}.Cat
Into ProductGroups = Group
i've tried some websites but none worked as expected.
line 1 col 2: EOF expected