[.net] saving files in C#

Started by
9 comments, last by turnpast 18 years, 6 months ago
Quote:Original post by k00k
Do not forget to close the stream writer! ever! :[]


The using statement should take care of that for you. It will ensure that the stream is disposed when the block is exited.

This topic is closed to new replies.

Advertisement