IO Read/Write Object RRS feed

  • Question

  • Hello,

    I need to be able to read or write to a file with a single object dynamically.  For instance, I want to have a private variable of some class, and using that class read or write information based on some criteria.  I can use whatever parameter it needs to determine whether it's in read or write mode, I just need one class, then provide some way to read or write; this will make it simpler to do what I need to do in my class.

    What objects are like this?  I also was looking for something more convenient than working with the FileStream class, where you have to deal with bytes directly... (at least for the read operation).


    Sunday, May 27, 2007 11:51 PM


All replies