Skip to content

Find ranges #631

Open
Open
@wertzui

Description

@wertzui

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions