Is there a dictionary available in .NET that could hold 2 keys and one value.
Like
Dictionary(Of TKey, Of TKey, TValue)
I have
As suggested in a comment to your question you could simply use an Object key for your Dictionary:
Dictionary
To get a cleaner solution you could wrap this dictionary in a custom class and create your version of Add method:
public void Add(ISet keys, T value){
foreach(Object k in keys)
{
_privateDict.Add(k, value);
}
}