Console

class Console

Provides access to the process standard input, output, and error streams.

Example

auto name = Console.readLine();
Console.writeLine($"Hello, {name}");

Static members

CharWriter
getError()
property

Returns a character writer for standard error.

CharReader
getReader()
property

Returns a character reader for standard input.

CharWriter
getWriter()
property

Returns a character writer for standard output.

void

Writes a newline to standard output.

char

Reads one character from standard input.

escaped string

Reads one line from standard input.

void
write(...)
overload

Writes a value to standard output.

void

Writes a value to standard output followed by a newline.

Generated with campc v0.6.0-preview.1+4dde68eca4014e9b19e7d7ad0fdae6b2036be640.