Hello all experts,
I am writing lines to textfile using StreamWriter.WriteLine() method. Then reading each line and then do processing for that line. After the process for that line is completed, I wanted to delete that line from the text file and retain the remaining lines.
Can some experts give me a sample code and a bit of explanation please.
Thanks and regards
Start Free Trial