❔ Help with StreamReader txt file
hello everybody! I'm trying to do a reading inside a .txt file, at first I type a name in a textbox when I give the command that name would be searched inside the .txt file and if it found the name it will be deleted, does anyone have any idea how do that?
3 Replies
Your best bet is to go through the file and rewerite it
Stack Overflow
How to delete a line from a text file in C#?
I have a problem: how can I delete a line from a text file in C#?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.