S
shapper
Hello,
I need to pass to a function a list of pairs of values.
For each item the first value is a string and the second value is an
Enum named Country.
For example, consider I need to pass 3 items:
"New York", Country.UnitedStates
"Paris", Country.France
"London", Country.England
What data type should I use create this?
And how can I access each item inside my function?
Thanks,
Miguel
I need to pass to a function a list of pairs of values.
For each item the first value is a string and the second value is an
Enum named Country.
For example, consider I need to pass 3 items:
"New York", Country.UnitedStates
"Paris", Country.France
"London", Country.England
What data type should I use create this?
And how can I access each item inside my function?
Thanks,
Miguel