this is how a dictionary works:

vb Code:
  1. Dim d As New Dictionary(Of String, Integer)
  2. d.Add("one", 1)
  3. d.Add("two", 2)
  4. d.Add("three", 3)
  5.  
  6. MsgBox(d("one").ToString) 'returns "1"