Hi all, I was trying to play with Dictionaries and wanted t be able to print the key as well as the value in the same for each loop, but no matter what i do, it givs an error stating:
For Each: Unable to cast object of type ‘System.Collections.Generic.KeyValuePair2[System.String,System.String]' to type 'System.Collections.Generic.Dictionary2[System.String,System.String]’.
I have tried to change the distionary to String, String and the for each to the same or String, object and the for each to the same, but I cant get it to work.
So how can I print the key and value in the same for each loop? I have attached the sample file