Console
BackgroundColor
BufferHeight
BufferWidth
CapsLock
CursorLeft
CursorSize
CursorTop
CursorVisible
Error
ForegroundColor
In
InputEncoding
IsErrorRedirected
IsInputRedirected
IsOutputRedirected
KeyAvailable
LargestWindowHeight
LargestWindowWidth
NumberLock
Out
OutputEncoding
Title
TreatControlCAsInput
WindowHeight
WindowLeft
WindowTop
WindowWidth
Beep()
Beep(Int32, Int32)
Clear()
GetCursorPosition()
MoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32)
MoveBufferArea(Int32, Int32, Int32, Int32, Int32, Int32, Char, ConsoleColor, ConsoleColor)
OpenStandardError()
OpenStandardError(Int32)
OpenStandardInput()
OpenStandardInput(Int32)
OpenStandardOutput()
OpenStandardOutput(Int32)
Read()
ReadKey()
ReadKey(Boolean)
ReadLine()
ResetColor()
SetBufferSize(Int32, Int32)
SetCursorPosition(Int32, Int32)
SetError(TextWriter)
SetIn(TextReader)
SetOut(TextWriter)
SetWindowPosition(Int32, Int32)
SetWindowSize(Int32, Int32)
Write(Boolean)
Write(Char)
Write(Char[])
Write(Decimal)
Write(Double)
Write(Int32)
Write(Int64)
Write(Object)
Write(Single)
Write(String)
Write(UInt32)
Write(UInt64)
Write(String, Object)
Write(String, Object[])
Write(Char[], Int32, Int32)
Write(String, Object, Object)
Write(String, Object, Object, Object)
Write(String, Object, Object, Object, Object, __arglist)
Write(String, ReadOnlySpan<Object>)
WriteLine()
WriteLine(Boolean)
WriteLine(Char)
WriteLine(Char[])
WriteLine(Decimal)
WriteLine(Double)
WriteLine(Int32)
WriteLine(Int64)
WriteLine(Object)
WriteLine(Single)
WriteLine(String)
WriteLine(UInt32)
WriteLine(UInt64)
WriteLine(String, Object)
WriteLine(String, Object[])
WriteLine(Char[], Int32, Int32)
WriteLine(String, Object, Object)
WriteLine(String, Object, Object, Object)
WriteLine(String, Object, Object, Object, Object, __arglist)
WriteLine(String, ReadOnlySpan<Object>)
CancelKeyPress
net6.0-windows
namespace System
{
public static class Console
{
public static event ConsoleCancelEventHandler CancelKeyPress;
}
}
NetFx Compat Lab | 3.8 %
Reference this API 3.8 %
Subscribe to this event 0.3 %
Unsubscribe from this event |
---|---|
nuget.org | 1.4 %
Reference this API 1.4 %
Subscribe to this event 0.6 %
Unsubscribe from this event |
Upgrade Planner | 0.2 %
Reference this API 0.2 %
Subscribe to this event 0.0 %
Unsubscribe from this event |
.NET | 5.06.07.08.09.010.0 |
.NET Core | 1.01.12.02.12.23.03.1 |
.NET Framework | 2.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 1.31.41.51.62.02.1 |
Information specific to net6.0 | |
Assembly | System.Console , Version=4.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | Your project needs a package reference to |
Package | System.Console (4.3.1) netstandard1.3 |
Platform Restrictions | The event adder is supported on all platforms. The event remover is supported on all platforms. |
- Built-in API
- Package-provided API