Method Write
Write(ReadOnlySpan<char>)
Writes the given text directly to the console. Use to send ansi escape codes etc. Regular screen output should use the IOutputBuffer overload.
void Write(ReadOnlySpan<char> text)
Parameters
text
ReadOnlySpan<char>
Write(IOutputBuffer)
Write the contents of the buffer
to the console
void Write(IOutputBuffer buffer)
Parameters
buffer
IOutputBuffer