Hello,
Can anyone please tell me a C# collection or a way to store multiple keys for one object.. for example i have an arraylist or another collection that contains different strings as elements and i have to store that collection in a dictionary or any other collection in such a way that i can index that list through any number of the values stored in the list..
ArrayList list
Dictionary dict; //just as an indicator
list.Add("X");
list.Add("Y");
dic.Add(key,list);
Now i want to index the dictionary in such a way that i get the list by giving either X or Y as the key..