Returns the underlying string from the current position to the end.
A string containing the content from the current position to the end of the underlying string.
Type Reason ObjectDisposedException The current reader is closed. OutOfMemoryException There is insufficient memory to allocate a buffer for the returned string.
Note: This method overrides TextReader.ReadToEnd.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0