public boolean containsKey(Object key) {return ((key instanceof Long && dictionary.containsKey(key)) || dictionary.containsValue(key));}
public override bool ContainsKey(Object key){if (key is long){return base.ContainsKey((long)key);}if (key is String){return base.ContainsKey((long)dictionaryNameToID[(key)]);}return false;}