I have one key but different values for that key. I tried HashTable but I don’t think that is the right way of doing it.
I’ll explain in detail what the requirement is:
I have a Key – “Asp.net” – for that I have n number of values – 61, 67, 100
So I have to store this somewhere like Dictionary or hash table.
A
Dictionary<string, List<int>>would do the trick for your sample data.