Exam UiARD All QuestionsBrowse all questions from this exam
Question 182

A developer has two collections containing data:

1. A list of strings called listA that was initialized with 2 items

2. An array of strings called arrayB that was initialized with 2 items

How can both collections be combined into a single 4-item collection called results?

    Correct Answer: C

    To combine two collections (a list and an array) into a single list with all the items, you can use a Multiple Assign activity. This activity allows you to assign values to several variables at the same time. By looping through each item in the array and adding it to the existing list, you ensure that all elements are included in the final combined collection.

Discussion
Engineer24Option: B

Tested in Studio !

sur_bhi123456789Option: C

The given ans. is right