title: How can I get a subset of a list based on a Datetime key in C#?
body: <p>I have a list of elements describing events that took place at some time, the time being represented as a Datetime property 'StartTime' on the objects. I now wish to extract a subset of these events containing those elements that are placed in an interval / between two DateTime instances A,B such  that StartTime >= A &amp;&amp; StartTime &lt;= B. Currently this is accomplished by a simple Linq query, but since I have to run a lot of queries extracting small fractions of the list, its quite inefficient. </p>
  
  <p>Had hoped that the standard SortedList class had some sort of subset functionality over the key, but that doesnt seem to be the case. Any ideas if this can be archived relatively simple with existing framework classes, or would I have to make some sort of custom binary search based on a SortedList?</p>