Correspondence between 2 list variables

Hello, Team!

I have two list variables: IDPart and IDsys.
How can I create a correspondence between them?
I mean, when IDPart = M001, IDsys = 105, when IDPart = M002, IDsys = 106 … and so on.
Can you help me with a suggestion?

Thank you,

image

@LZlz
we can do it with a dictionary:
grafik
Variables:

And will use a LINQ for it:
grafik

Enumerable.Range(0, IDPart.Length).toDictionary(Function (x) IDPart(x), Function (x) IDSys(x))

2 Likes