How to convert[] to

i have a list of , i need to convert without use any loop.

There is no conversion here as these are not types casting rather you want a element from an array.
If you dont want to loop and know the count and index of the element, you can directly access the value using index (0) (1)

1 Like

Yeah, typically, if you have a list of DataRow but it’s really only one item, just add the index on the end, similar to using an array.

listofrows(0) or listofrows.First
listofrows(UBound(listofrows)) or listofrows.Last

If it’s more than one row that you want to process, then use a For each.

But sounds like you just want the first or last item in the list.