[Mono-list] Buffering for StreamWriter
Thu, 16 May 2002 23:38:03 +0900
| From: Jerry Houston [mailto:firstname.lastname@example.org]
| I always call Flush() on StreamWriter before calling Close().
| Is that unnecessary? And if you Flush() but don't Close(),
| is the file properly closed anyway when the StreamWriter goes
| out of scope?
I think Flush()-then-Close() is redundant. That's my interpretation of
The docs just say you should Close() to be sure everything is written
out. It is not clear to me at least what should happen if there's not a