I’m trying to implement a Dictionary with a string key and an array of string in values (New Dictionary(of String, String())).
I think I don’t have a problem for initialize and fill my dictionary, but I’m trying to write in the console the results and I have some trouble.
So, I have first “for each” to browse my Key and in this, I have a second “for each” for my array of string, but it doesn’t work. I don’t know how I can loop in my array of string to print them.
it is generic and will take all array items and all dictionary entries. Just do a little play with. In case of it is not working as expected then let us know.
Kindly note: These one liners are the alternates to for each constructs, which could also do the loggings