首页 > 代码库 > .net 拉姆达 groupby(p => p.X) order by count(c.Count())

.net 拉姆达 groupby(p => p.X) order by count(c.Count())

//国家
var entityCountriesList = aliexpressEntities.SYS_CourierCode.Where(whereSelect.Compile()).GroupBy(p => p.ToCountries).OrderByDescending(c => c.Count()).Select(c => c.Key + "(" + c.Count() + ")").Distinct().ToList();

.net 拉姆达 groupby(p => p.X) order by count(c.Count())