I’m making an app and I’m almost done. I just need to know how I can streamread a txt list and foreach line, add numbers 0-x (x will be the number the user puts in the textbox) and add it to a list. So basically, it would be like this
You import a list with ‘dog’ on one line, ‘cat’ on another, and ‘fish’ on the third. You type ‘5’ into the textbox. the app puts all this into a list:
dog1 dog2 dog3 dog4 dog5 cat1 cat2 cat3 cat4 cat5 fish1 fish2 fish3 fish4 fish5
thanks!
The code below should work for you. I assume you can acquire the
countvalue on your own.