Add Item From Variable Dictionary(Of String, String) Type Into The Variable String[] Type

Hello Everyone,

I’ve question about adding an item from variable Dictionary(Of String, String) type into the variable String type.

Example:
Master: {{ “MORNING”, “SMALL” }, { “AFTERNOON”, “SMALL” }, { “NIGHT”, “BIG” } }
Destination:
option 1 → { “MORNING”, “SMALL”, “AFTERNOON”, “SMALL” }
option 2 → { “MORNING”, “SMALL”}, {“AFTERNOON”, “SMALL” }

Please guide me. Thanks in advanced…

Regards,
Brian

Hi,

Do you mean as the following?

img20211123-2

arrString = dict.SelectMany(Function(d) {d.Key,d.Value}).ToArray()

Regards,

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.