There are several places on the internet that talk about having multy key dictionary such as in:
Or
Multi-key dictionaries (of another kind) in C#?
I am looking for a multi key dictionary that will enable me to retrieve the object that I am looking for as long as I provide just one key. In other words If I where to have:
// multyKeyDictionary = instance of a multikeydictionary
multyKeyDictionary.add(key1, key2, someObject);
then I will like to be able to retrive someObject as:
multyKeyDictionary[key1];
or multyKeyDictionary[key2];