T
TonyJ
Hello!!
If I look in the .NET documentation for the abstract class TextReader and
method Dispose it
says TextReader.Dispose().
If I look at the Dispose method in the derived class StreamReader it says
StreamReader.Dispose().
I just wonder what does it mean when a method is prefixed with the class
name like
the TextReader.Dispose(). and StreamReader.Dispose(). for the two classes
TextReader and StreamReader.
One more question.
Is there actually an implementation for the Dispose in the StreamReader or
does the StreamReader inherit the Dispose from TextReader.
//Tony
If I look in the .NET documentation for the abstract class TextReader and
method Dispose it
says TextReader.Dispose().
If I look at the Dispose method in the derived class StreamReader it says
StreamReader.Dispose().
I just wonder what does it mean when a method is prefixed with the class
name like
the TextReader.Dispose(). and StreamReader.Dispose(). for the two classes
TextReader and StreamReader.
One more question.
Is there actually an implementation for the Dispose in the StreamReader or
does the StreamReader inherit the Dispose from TextReader.
//Tony