I have a collection of objects in a Dictionary(Of Integer, SomeObject) where the integer is an Id. The stored objects have a date property, and I want to create an extension to the Dictionary(Of Integer, SomeObject) that return a time series using the date property.
I was thinking to implement the time series using a SortedDictionary(Of Date, SomeObject).
What is the best practice way to do that conversion to a time series? Obviously I'm looking for a smart .NET way to do it and not a from-scratch algorithm.