Home Cooker Classes Others Rice CookerGX
Classes  >  reader  >  Read()
reader class : Read() method

Description

Gets a next character and advances the character position.

Syntax

readerInstance.Read()

Arguments

None

Return value

ClassDescription
stringA next character.

Sample code

//anyReader is an any instance of reader type.

string nextCharacter = anyReader.Read();

Notes

It's a wrapper of the System.IO.StreamReader.Read().

Returns a next character. Throws exception If there is not a next character.

The current position move one character forward by Read().

Links for reference

Copyright © Rice All rights reserved.