If I have the following:
fs = new FileStream(xmlF ile, FileMode.Open,
System.IO.FileA ccess.Read);
sr = new StreamReader(fs );
will sr.Close() also close the fs? Or do I need to close both?
Thanks,
Tom
fs = new FileStream(xmlF ile, FileMode.Open,
System.IO.FileA ccess.Read);
sr = new StreamReader(fs );
will sr.Close() also close the fs? Or do I need to close both?
Thanks,
Tom
Comment