String[] keys = dictionary.Keys.ToArray(); // Si la méthode d'extension ToArray<TSource>() n'est pas disponible : //Dictionary<String, String>.KeyCollection keysCol = dictionary.Keys; //String[] keys = new String[keysCol.Count]; //keysCol.CopyTo(keys, 0); for (Int32 i = 0; i < keys.Length; i++) { String key = keys[i]; String value = dictionary[key]; // ... }