Console

static 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 0.11.0-preview.1.