I\'m trying to create an \"ordered\" cache of objects in C#, where the order is determined by how many times that has been accessed.
I\'ve looked into Dictionary, Sorted
What about this:
var MyCache = new SortedDictionary(); MyCache['My result 2'] = (MyCache['My result 2'] ?? 0) + 1;