public Command FindCommand(string code) { if (dictionary.ContainsKey(code.ToLower())) return dictionary[code.ToLower()]; else return null; }