i have a method that uses streamreader to read from a file, then closes it. it then uses streamwriter to write a new file. it is possible for the streamreader and streamwriter to want the same file, but when they do, the streamwriter can't open the file because it is still being used by another process.
what do i need to do to my streamreader to allow a streamwriter to write to that file?
what do i need to do to my streamreader to allow a streamwriter to write to that file?