I am new to vb.net. I want to create a key value pair or an array which ever is possible from a dynamic loop. The key name can have multiple entries I want output in following manner. I tried with dictionary but it do not allow duplicate keys.
In previous solutions which are in C#, I cannot find solution for my case since I want to get multiple values with the key like KeyName:{value1, value2, value3}. These three values must be within the KeyName not like KeyName: value1, KeyName: value2. I want to treat it like keyvalue pair.
Name1:{12, 12, 15}
Name1:{13, 12, 18}
Name2:{12, 11, 10}
Name3:{1, 2, 4}
Name4:{1, 2, 4}
Name1:{1, 2, 4}
Later on I need to print the keys with same name by grouping with the same key