Releases all resources used by the TextReader object.
Assemblies: System.IO (in System.IO.dll)
mscorlib (in mscorlib.dll)
Call Dispose when you are finished using the TextReader. The Dispose method leaves the TextReader in an unusable state. After calling Dispose, you must release all references to the TextReader so the garbage collector can reclaim the memory that the TextReader was occupying.