🌈 搜索
📅  最后修改于: 2022-03-11 14:49:09.500000             🧑  作者: Mango
bool isConsecutive = !myIntList.Select((i,j) => i-j).Distinct().Skip(1).Any();