When i say
Dictionary
is it equivalent to two different arrays such as:
int[] keys =new int[] { 1, 2, 3
It's all clearly written on MSDN:
The Dictionary(Of TKey, TValue) generic class provides a mapping from a set of keys to a set of values. Each addition to the dictionary consists of a value and its associated key. Retrieving a value by using its key is very fast, close to O(1), because the Dictionary(Of TKey, TValue) class is implemented as a hash table.