You have two lists in a workflow:
1. FranceCities which contains city names in France
2. IndiaCities which contains city names in India
In order to show all city names from both lists, which expression should be used as the input to a MessageBox?
You have two lists in a workflow:
1. FranceCities which contains city names in France
2. IndiaCities which contains city names in India
In order to show all city names from both lists, which expression should be used as the input to a MessageBox?
To combine and display all city names from both lists, we need to concatenate the lists and then join the resulting list into a single string separated by commas. The correct expression for this is 'String.Join(',', Enumerable.Concat(FranceCities, IndiaCities).ToList)'. This expression uses 'Enumerable.Concat' to join the two lists and 'String.Join' to create a single string from the concatenated list with comma separation. Therefore, option C is the correct choice.
Tested in Studio !
Did you take the Advanced Certification recently?