Print the values in a dictionary one by one using Loop

Hi All
I have made a dictionary of (String, Array of strings). Have inserted the values manually in the dictionary. Now I want to Print the value against a particular key one by one till the array exhausts. Also, the number of values against different keys are distinct.

give a try on log message:
String.Join(“,”,YourDictVar(YourKey))

1 Like

hi peter. Could you please ellaborate

your request was interpretated e.g:

  • using the “70924” the corresponding array should be output within a line.

we can do this e.g. with a usage of String.Join method
grafik

BTW: it is not recommended to you class names as variable names. Dictionary is a class name. Maybe you can rename the variable to another name

1 Like

Hi There try this let me know if it worked!

2 Likes