Answers for "is list sequential C#"

C#
0

is list sequential C#

bool isConsecutive = !myIntList.Select((i,j) => i-j).Distinct().Skip(1).Any();
Posted by: Guest on August-01-2021

Code answers related to "is list sequential C#"

C# Answers by Framework

Browse Popular Code Answers by Language