Bridge

Console..::..Read Method

Reads the next character from the standard input stream.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static string Read()
<TemplateAttribute> _
Public Shared Function Read As String
[TemplateAttribute]
public:
static String^ Read()

Return Value

The next character from the input stream, or negative one (-1) if there are currently no more characters to be read.

Exceptions


ExceptionCondition
IOExceptionAn I/O error occurred.