I have a dictionary with unique values, and I want to count string matches compared to values.
Basically, I am now doing dict.ContainsValue (a) to get bool, telling me if the string a exists in the dict, but I want to know not only if it exists, but how many times it exists (and maybee even get the list from the keys to which it exists)
Is there a way to do this with a dictionary, or should I look for another collection?
/ Rickard Haack
source
share