Can't remember where I read it, but I remember a MS guy saying that once you create a reader around a System.IO.Stream, then the stream is not longer responsible for the disposal of the stream.
Is this true? Can someone confirm this? Maybe provide a reference.
This means the outer using in this code is redundant
using (var s = new FileStream(@"c:\file.txt",FileMode.Open)) {
using (var reader = new StreamReader(s)) {
reader.ReadToEnd();
}
}