c# - Convert query expression to dot notation -
i want convert these 2 query expression dot notation
q1
var x = tbl in person.get(2, cat.count) group cat[i] i/10;
q2
foreach(var in x) string.split("-", a);
how do?
this untested, please see if produces correct results -
var catlist = person.get(2, cat.count); catlist.groupby(c => catlist.indexof(c)/10).select(a => a.split("-", a))
Comments
Post a Comment