Hello, I have two dictionaries and want to search one against another. I tried:

Code:
foreach (KeyValuePair<int, string> entry in requestedNames)
{
	// do something with entry.Value or entry.Key
	if (allNames.ContainsValue(entry.Value))
	{
		Console.WriteLine(entry.Value);
	}
}
but this doesn't work. It doesn't output anything.