📅  最后修改于: 2022-03-11 14:48:40.457000             🧑  作者: Mango
var oddCategories = projectsByCat.ToList().Where((c,i) => i % 2 != 0);
var evenCategories = projectsByCat.ToList().Where((c,i) => i % 2 == 0);