📜  是列出顺序 C# 代码示例

📅  最后修改于: 2022-03-11 14:49:09.500000             🧑  作者: Mango

代码示例1
bool isConsecutive = !myIntList.Select((i,j) => i-j).Distinct().Skip(1).Any();