请问一下link中gurpby怎么使用方法代替?
var query = from x in datagroup x by 你的函数(x) into gselect g;
用方法代替,要么你自己写分组算法,要么你把group by封装到一个方法中,方法参数是一个list