Coffeehouse Post

Single Post Permalink

View Thread: How to Edit a football team in a text file using stream reader.
  • User profile image

    Sounds like homework to me.

    So you don't delete from the stream, you would read the stream into memory, probably creating a class for each team, and using a List<T> of teams. You'd then bind that to the list box.

    When save is clicked you overwrite the stream with the updated list.