StreamWriter Open

  • Thread starter Thread starter raulavi
  • Start date Start date
R

raulavi

vs2008 c3
HI:
I am using streamwriter to write few lines.
I need to know what was was written to each line,
I am closing streamWriter after ea line (otherwise line is not output)
....then for the next line I need to reopen it. How?
or
how do I check the line in the file without closing streamwriter?

thanks
 
you could try Flush() instead of closing it...

Can you clarify what you need to check? You just wrote the line, so you
should know what it says... or am I missing something?

Marc
 
Thanks Marc,

same?not really,

there is certain edition to what the final output should be,
I read to compare that is my testing that is what should be.

(I am using streamReader to read)
 
Back
Top