To iterate over a dictionary, you can use:
Dictionary.GetEnumerator , which returns KeyValuePairs.
Dictionary.Keys , which returns a KeyCollection.
Dictionary.Values that returns a ValueCollection.
If for some reason you need to hide the dictionary, you can use dictionary words and a dictionary. The values ββin the array / list you want.
Klark source share