I have a Dictionary, I want to se in the message box.
But its not showing.
Anyway to Print the items in message box.
1 Like
we would recommend using the debugging panels for variable inspections
However give a try at
String.Join(", ", yourDictVar.Select(Function (x) x.Key & ": " x.Value.ToString))
Hi @SP_Bot
Try this:
Here Delimiter is: Environment.NewLine
(Show items in new line - For better view)
For One Line Use: ","
String.Join(Environment.NewLine, MyDict.Select(Function(keyvalue) keyvalue.Key & ": " & keyvalue.Value))
Replace MyDict with your Dictionary Variable Name.
Hope it will helps you
Cheers!!
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.