We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
It would be handy to have a method to find ranges of consecutive Numbers (int or long) in a given (ordered) collection.
Something like public static IEnumerable<Tuple<long, long>> FindConsecutiveRanges(this IEnumerable<long> source)
public static IEnumerable<Tuple<long, long>> FindConsecutiveRanges(this IEnumerable<long> source)