List Error

hi, i am reading data in a text file

eg:

a(String)
b(String)
c(String)

i want to assign them a list and i want to process them in order. But how do I add them to the list after reading them? do you have the code?

in general we do:

preparing the list:
myList = new List(Of String)

then using the add to collection activity and add an item

it is is little bit unclear if a,b,c are variables. If so we can quick dirty do:
myList = {a,b,c}.toList

use this .tolist()

I couldn’t do it

a

read text file output: out

what will i write ?

@d.ulutas

Try →

uplist = new List(Of String) for assigning list.

when text file is about:
a
b
c

then you can also do (assign activity):
uplist = File.ReadAllLines(YourTextFileFullPath).toList

it doesn’t work, how do i write more?

I couldn’t do it

Check reviewed statement

Can you write the code and send it? please

sure, just share the text file with me. Thanks

variable.txt (7 Bytes)

File.ReadallLines(TxtFilePath).Tolist

the implementation would look like this:

and it is working
grafik