exam questions

Exam UiADPv1 All Questions

View all questions & answers for the UiADPv1 exam

Exam UiADPv1 topic 1 question 162 discussion

Actual exam question from UiPath 's UiADPv1
Question #: 162
Topic #: 1
[All UiADPv1 Questions]

The following table is stored in a variable called "dt".



Which query can be used to extract the table column names and store them in a list?

  • A. dt.Columns.Select(function(x) x.ColumnName).ToList()
  • B. dt.Columns.Cast(Of Datacolumn).Select(function(col) col).ToList()
  • C. dt.AsEnumerable.Select(function(x) x.ColumnName).ToList()
  • D. dt.Columns.Cast(Of Datacolumn).Select(function(x) x.ColumnName).ToList()
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
mczarny
3 weeks ago
Selected Answer: D
Tested in studio
upvoted 1 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 ...