3
Answers

append text to end of line in file

laai lalalaa

laai lalalaa

15y
5.5k
1
hello:), i'm using c# and i want to read a file line by line, and, if some condition occurs, append a string at the end of the read line. how can this be done? with StreamReader the cursor gets to the next line. thanks
Answers (3)