Does calling Close() on a System.IO.FileStream object cause it to go null?
Is this code
MyFile.Close();
...
if (MyFile != null)
Console.WriteLine ("File not closed");
valid?
The documentation mentions Dispose() being called, but does it go null
automatically, or is the reference nulled on the next garbage collection
run?
Thanks
--
Alex Moskalyuk
_____________________________
http://www.techinterviews.com