I'd like to use a Dictionary to store multiple strings for a key.
For instance, the Key will be "The Beatles", and the array of Strings Will contain all "Records" I own. The next key will be "Rolling Stones" and this will hold all the records I own for this band, etc.
As I go through a list of records I own, from a text file, I'd like to update the Dictionary, and add more Records to the Array.
Is this possible? I keep getting "An item with the same key has already been added" error messages.
Dim Records_I_Own As New Dictionary(Of String, String())
For each Line in Lines_I_Read
....
....
Records_I_Own.Add(Band, Record)
....
....
Loop
Bandvariable has the same value two or more times. You should make sure it isn't