I have a SortedDictionary, the key is a int value and the matching value to each key is a class object. The class contains a int and a two datetime variable.
I need
You could use a Linq query.
var D = new SortedDictionary(); var qD = from kvp in D orderby kvp.Value select kvp ;