Suppose you want to do something like a set of preferences that are a simple key/value pairing.
A dictionary seems a great choice. Its keys can be any type and the values any type because both are variants.
So far so good.
Now you can do something like
dim i as integer = PrefsDict.Value("keyForIntegerValuedPreference")
And all seems great !… Read the rest