BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

UiPath Exam UiPath-ARDv1 Topic 3 Question 84 Discussion

Actual exam question for UiPath's UiPath-ARDv1 exam
Question #: 84
Topic #: 3
[All UiPath-ARDv1 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Vi
5 months ago
True, it's more for concatenating strings.
upvoted 0 times
...
Lucy
5 months ago
I'm not sure, maybe B with String.Join would work?
upvoted 0 times
...
Daniela
5 months ago
I don't think String.Join works with arrays.
upvoted 0 times
...
Vi
6 months ago
I think C makes more sense, using Multiple Assign activity.
upvoted 0 times
...
Nelida
6 months ago
Yeah, I'm leaning towards option A, using Add To Collection.
upvoted 0 times
...
Daniela
7 months ago
That question about combining collections is tricky.
upvoted 0 times
...
Theresia
7 months ago
C) Use a Multiple Assign activity to add each item from arrayB to listA
upvoted 0 times
...
Matt
7 months ago
B) Use the String.Join method with listA and arrayB as parameters
upvoted 0 times
...
Herminia
7 months ago
A) Use the Add To Collection activity with arrayB as the parameter
upvoted 0 times
...
Royce
7 months ago
How can we combine listA and arrayB into results?
upvoted 0 times
...

Save Cancel