Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam UiARD All Questions

View all questions & answers for the UiARD exam

Exam UiARD topic 8 question 166 discussion

Actual exam question from UiPath 's UiARD
Question #: 166
Topic #: 8
[All UiARD Questions]

You have two string variables called Name and City. You want to construct a new sentence that includes the values from the following variables:
My name is <Name> and I live in <City>
Which expression will provide the required output?

  • A. String.Format("My name is {0} and I live in {1}", Name, City)
  • B. String.Format("My name is {0} and I live in {1}", "Name", "City")
  • C. String.Format("My name is {1} and I live in {2)", "Name", "City")
  • D. String.Format("My name is {1} and I live in {2}", Name, City)
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
1 year, 3 months ago
Selected Answer: A
Given is correct
upvoted 1 times
...
Engineer24
1 year, 7 months ago
Selected Answer: A
Tested in Studio !
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...