StreamWriter Open

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
 
M

Marc Gravell

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
 
R

raulavi

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top