Why this does not work?
dictionary.ContainsKey(input ) ? int value = dictionary[input] : "Not Found";
But it works this way:
if(dictionary.ContainsKey (input)){int values =dictionary[input];}
Aucun commentaire:
Enregistrer un commentaire