StreamReader.Read Method


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Reads the next character or next set of characters from the input stream.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)


Reads the next character from the input stream and advances the character position by one character.(Overrides TextReader.Read().)

System_CAPS_pubmethodRead(Char[], Int32, Int32)

Reads a specified maximum of characters from the current stream into a buffer, beginning at the specified index.(Overrides TextReader.Read(Char[], Int32, Int32).)

Return to top