我有一个 LINQ 代码来从数据表中提取值。
Dim dWYLDs = (From myrow In oSubData
Where mySubbasins.Contains(myrow("Subbasin"))
Group By xs = Val(myrow("X"))
Into myTotal = Sum(Val(myrow("WYLD")))).ToArray
我想得到一个WYLD的单曲数组(作为双精度)。相反,在检查行
( using .GetType method
),我有...
VB$AnonymousType_1`2[System.Double,System.Double]
如何将其转换为数组?我的语法有问题吗?