Grouping into ranges of continuous integers
I have checked other postings including Group by variable integer range using Linq but i have not found anything that is similar to my question...I am trying to group into integer ranges where the integer sequence is discontinuous. For example, if i have a set of continuous integers from 1-100 and then my set skips 101, i would want to create a record that takes the date from record #1 and #100, where the date from record #1 is the begin date and #100 is the end date. Each range of continuous integers creates a new record to add to a list of records that indicate the date at the start and end