Mono Class Library: System.IO.StreamReader Overview | Members

System.IO.StreamReader.Close Method

Closes the current instance of System.IO.StreamReader , releasing any system resources associated with it. [Edit]

public override void Close ()

Remarks

Following a call to this method, operations on the current instance might raise exceptions.

Note:

This version of StreamReader.Close is equivalent to StreamReader.Dispose(bool)(true).

This method overrides TextReader.Close.

[Edit]

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0