Closes the StreamReader and releases any system resources associated with the reader.
[Visual Basic] Overrides Public Sub Close() [C#] public override void Close(); [C++] public: override void Close(); [JScript] public override function Close();
Following a call to Close, any operations on the reader may raise exceptions.
StreamReader Class | StreamReader Members | System.IO Namespace