Accretion.Intervals (nuget): Intervals that represent a set of valid values between generic IComparables and can have an arbitrary number of pairs of lower and upper bounds, closed or open (for example: (-9,10]∪(80,100]). Support Contains - O(log n), Union, SymmetricDifference, Intersect, Complement and Length - O(n) operations.
Keywords: intervals|ranges