A Dictionary, which is implemented as a hash table, is not particularly suitable for efficiently performing range selection operations on keys. You will need to find all the keys in order to find all of them in the specified range. A good way to achieve this is to query its key collection with a simple LINQ expression.
source
share