I have the following code to find a match for a number in a list of ranges.
public class RangeGroup { public uint RangeGroupId { get; set; } public u
Interval trees. were created exatcly for what you are asking for.