class · System
Console
public class System.Console : System.Any
- Kind
- class
- Namespace
- System
- Assembly
- System.Core
- Access
- public, static, abstract
- Source file
Console.ant
Inheritance
- Base classes
-
AnyConsole
Properties
static property Out: System.IO.TextWriter
#
The standard output as a TextWriter (it flushes after every write).
static property Error: System.IO.TextWriter
#
The standard error as a TextWriter (it flushes after every write).
static property In: System.IO.TextReader
#
The standard input as a TextReader.
Methods
static method OpenStandardInput() -> System.IO.Stream
#
The standard input as a stream of bytes (do not mix it with ReadLine, which reads it on its own).
static method OpenStandardOutput() -> System.IO.Stream
#
The standard output as a stream of bytes (what goes through it and through Write keeps its order).
static method OpenStandardError() -> System.IO.Stream
#
static method Write(text: System.String<u8>) -> void
#
static method Write(value: System.Any) -> void
#
Any object or boxed value: its text when it has one of its own (IToString), else its class's.
static method ReadLine() -> System.String<u8>?
#
The next line of the standard input (without its line break), or null at its end.
static method WriteLine() -> void
#
static method WriteLine(text: System.String<u8>) -> void
#
static method WriteLine(value: System.Any) -> void
#
Private and internal members (10)
static field output: System.IO.StreamWriter?
#
static field error: System.IO.StreamWriter?
#
static field input: System.IO.StreamReader?
#
static method PrintLine() -> void
#
Inherited members (5)
GetTypemethod from AnyUndescribedmethod from AnyToStringmethod from AnyHashmethod from Anydestroymethod from Any
Source
Console as Larva HIR, decompiled from its Larva HIR.
public class System.Console : System.Any
{
static field output: System.IO.StreamWriter?
static field error: System.IO.StreamWriter?
static field input: System.IO.StreamReader?
static method PrintUtf8(bytes: u8[]) -> void
static method PrintInteger(value: i64) -> void
static method PrintUnsigned(value: u64) -> void
static method PrintBool(value: bool) -> void
static method PrintLine() -> void
static method ReadInto() -> i64
static method ReadUnit(index: i64) -> i64
// The standard input as a stream of bytes (do not mix it with ReadLine, which reads it on its own).
static method OpenStandardInput() -> System.IO.Stream
// The standard output as a stream of bytes (what goes through it and through Write keeps its order).
static method OpenStandardOutput() -> System.IO.Stream
static method OpenStandardError() -> System.IO.Stream
static method Write(text: System.String<u8>) -> void
static method Write(value: i8) -> void
static method Write(value: i16) -> void
static method Write(value: i32) -> void
static method Write(value: i64) -> void
static method Write(value: i128) -> void
static method Write(value: i256) -> void
static method Write(value: u8) -> void
static method Write(value: u16) -> void
static method Write(value: u32) -> void
static method Write(value: u64) -> void
static method Write(value: u128) -> void
static method Write(value: u256) -> void
static method Write(value: f16) -> void
static method Write(value: f32) -> void
static method Write(value: f64) -> void
static method Write(value: f128) -> void
static method Write(value: f256) -> void
static method Write(value: bool) -> void
// Any object or boxed value: its text when it has one of its own (IToString), else its class's.
static method Write(value: System.Any) -> void
// The next line of the standard input (without its line break), or null at its end.
static method ReadLine() -> System.String<u8>?
static method WriteLine() -> void
static method WriteLine(text: System.String<u8>) -> void
static method WriteLine(value: i8) -> void
static method WriteLine(value: i16) -> void
static method WriteLine(value: i32) -> void
static method WriteLine(value: i64) -> void
static method WriteLine(value: i128) -> void
static method WriteLine(value: i256) -> void
static method WriteLine(value: u8) -> void
static method WriteLine(value: u16) -> void
static method WriteLine(value: u32) -> void
static method WriteLine(value: u64) -> void
static method WriteLine(value: u128) -> void
static method WriteLine(value: u256) -> void
static method WriteLine(value: f16) -> void
static method WriteLine(value: f32) -> void
static method WriteLine(value: f64) -> void
static method WriteLine(value: f128) -> void
static method WriteLine(value: f256) -> void
static method WriteLine(value: bool) -> void
static method WriteLine(value: System.Any) -> void
// The standard output as a TextWriter (it flushes after every write).
static property Out: System.IO.TextWriter
// The standard error as a TextWriter (it flushes after every write).
static property Error: System.IO.TextWriter
// The standard input as a TextReader.
static property In: System.IO.TextReader
}