What is printed in the log message after the following Invoke Code is executed?
A developer has created a variable of type List of Strings named "UsersList", and initialized it with an empty list: "UsersList = new List(Of String)".
What is printed in the log message after the following Invoke Code is executed?
A . 0
B . 2
C . Object reference not set to an instance exception is thrown
D . System Argument Exception is thrown
Answer: A
Explanation:
The code is adding two items to the list, but since the list is initialized as an empty list, the count will be 0.
Reference: Data Manipulation with Lists and Dictionaries in Studio course, Lesson 2: Lists, Topic: Creating Lists How to initiate List<String[]>? forum post, Answer by @VishalS
Latest UiPath-ADAv1 Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments