In the following c# example, is there a way to determine if the writer is open. I want to know if the writer is open before I do something with it.
writer = new StreamWriter(File.OpenWrite(@"c:\output.txt"));
Also when I am done with the writer, should I close() it, dispose() it or both?
-7