Comparing Dictionary values

Hi.

How do I compare a value from a dictionary with another one?

ex:

if(Dict("health") > 100)

Thanks.

Using C#:

Dictionary<string, int> myDict = new Dictionary<string, int> ();
myDict.Add ("health", 150);
if (myDict["health"] > 100) {
    ...
}

This requires the namespace System.Collections.Generic. See more here.