I am using streamreader to read and streamwriter to write,
i have put the lines into an array
[text file contents]
********** Remove [ ] *****************
blah
blah
blah
;this is blah
blah
blah
;this is another blah
[end of example file]
i want to remove the lines that start with "****" and keep deleting lines until i reach ";"
i thought this would be simple but im missing something..
and i dont want to put this array into a listbox it is being writen to a text file.
thank you