R
raulavi
(a little more info)
after flushing the line (instead of closing streamwirter)
it takes some x time to flush the line
so, when I read from the file I cannot find the last written line.
if I close the streamwriter it does find the line always.
but , my next write fails "Cannot write to a closed TextWriter"
after flushing the line (instead of closing streamwirter)
it takes some x time to flush the line
so, when I read from the file I cannot find the last written line.
if I close the streamwriter it does find the line always.
but , my next write fails "Cannot write to a closed TextWriter"