I am testing the speed of getting data from Dictionary VS list. I\'ve used this code to test :
internal class Program { private static void Mai
Dictionary uses hashing to search for the data. Each item in the dictionary is stored in buckets of items that contain the same hash. It's a lot quicker.
Try sorting your list, it will be a a bit quicker then.