Why can't / can't IDictionary <TKey, TValue> implement ILookup <TKey, TValue>?
I suppose that doesn't really matter, I'm just curious.
If the difference between dictionary and search is one-on-one and the other is one-to-many, will the dictionary be a more specific / derived version of the other?
A search is a set of key / value pairs where a key can be repeated. A dictionary is a collection of key / value pairs where the key cannot be repeated.
Why was IDictionary unable to implement ILookup?
+3
3 answers