Cyber Monday 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
6 months ago
True, it's more for concatenating strings.
upvoted 0 times
...
Lucy
6 months ago
I'm not sure, maybe B with String.Join would work?
upvoted 0 times
...
Daniela
6 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
7 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
8 months ago
C) Use a Multiple Assign activity to add each item from arrayB to listA
upvoted 0 times
...
Matt
8 months ago
B) Use the String.Join method with listA and arrayB as parameters
upvoted 0 times
...
Herminia
8 months ago
A) Use the Add To Collection activity with arrayB as the parameter
upvoted 0 times
...
Royce
8 months ago
How can we combine listA and arrayB into results?
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77