C# 클래스 System.Console

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
Beep ( ) : void
Beep ( int frequency, int duration ) : void
MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop ) : void
MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor ) : void
OpenStandardError ( ) : System.IO.Stream
OpenStandardError ( int bufferSize ) : System.IO.Stream
OpenStandardInput ( ) : System.IO.Stream
OpenStandardInput ( int bufferSize ) : System.IO.Stream
OpenStandardOutput ( ) : System.IO.Stream
OpenStandardOutput ( int bufferSize ) : System.IO.Stream
Read ( ) : int
ReadKey ( ) : ConsoleKeyInfo
ReadLine ( ) : string
ResetColor ( ) : void
SetError ( System newError ) : void
SetIn ( System newIn ) : void
SetOut ( System newOut ) : void
SetWindowPosition ( int left, int top ) : void
Write ( bool value ) : void
Write ( char buffer, int index, int count ) : void
Write ( decimal value ) : void
Write ( double value ) : void
Write ( float value ) : void
Write ( int value ) : void
Write ( long value ) : void
Write ( object value ) : void
Write ( string value ) : void
Write ( string format, object arg0 ) : void
Write ( string format, object arg0, object arg1 ) : void
Write ( string format, object arg0, object arg1, object arg2 ) : void
WriteLine ( ) : void
WriteLine ( bool value ) : void
WriteLine ( char value ) : void
WriteLine ( char buffer, int index, int count ) : void
WriteLine ( decimal value ) : void
WriteLine ( double value ) : void
WriteLine ( float value ) : void
WriteLine ( int value ) : void
WriteLine ( long value ) : void
WriteLine ( object value ) : void
WriteLine ( string value ) : void
WriteLine ( string format, object arg0 ) : void
WriteLine ( string format, object arg0, object arg1 ) : void
WriteLine ( string format, object arg0, object arg1, object arg2 ) : void

비공개 메소드들

메소드 설명
Write ( uint value ) : void
Write ( ulong value ) : void
WriteLine ( uint value ) : void
WriteLine ( ulong value ) : void

메소드 상세

Beep() 공개 정적인 메소드

public static Beep ( ) : void
리턴 void

Beep() 공개 정적인 메소드

public static Beep ( int frequency, int duration ) : void
frequency int
duration int
리턴 void

MoveBufferArea() 공개 정적인 메소드

public static MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop ) : void
sourceLeft int
sourceTop int
sourceWidth int
sourceHeight int
targetLeft int
targetTop int
리턴 void

MoveBufferArea() 공개 정적인 메소드

public static MoveBufferArea ( int sourceLeft, int sourceTop, int sourceWidth, int sourceHeight, int targetLeft, int targetTop, char sourceChar, ConsoleColor sourceForeColor, ConsoleColor sourceBackColor ) : void
sourceLeft int
sourceTop int
sourceWidth int
sourceHeight int
targetLeft int
targetTop int
sourceChar char
sourceForeColor ConsoleColor
sourceBackColor ConsoleColor
리턴 void

OpenStandardError() 공개 정적인 메소드

public static OpenStandardError ( ) : System.IO.Stream
리턴 System.IO.Stream

OpenStandardError() 공개 정적인 메소드

public static OpenStandardError ( int bufferSize ) : System.IO.Stream
bufferSize int
리턴 System.IO.Stream

OpenStandardInput() 공개 정적인 메소드

public static OpenStandardInput ( ) : System.IO.Stream
리턴 System.IO.Stream

OpenStandardInput() 공개 정적인 메소드

public static OpenStandardInput ( int bufferSize ) : System.IO.Stream
bufferSize int
리턴 System.IO.Stream

OpenStandardOutput() 공개 정적인 메소드

public static OpenStandardOutput ( ) : System.IO.Stream
리턴 System.IO.Stream

OpenStandardOutput() 공개 정적인 메소드

public static OpenStandardOutput ( int bufferSize ) : System.IO.Stream
bufferSize int
리턴 System.IO.Stream

Read() 공개 정적인 메소드

public static Read ( ) : int
리턴 int

ReadKey() 공개 정적인 메소드

public static ReadKey ( ) : ConsoleKeyInfo
리턴 ConsoleKeyInfo

ReadLine() 공개 정적인 메소드

public static ReadLine ( ) : string
리턴 string

ResetColor() 공개 정적인 메소드

public static ResetColor ( ) : void
리턴 void

SetError() 공개 정적인 메소드

public static SetError ( System newError ) : void
newError System
리턴 void

SetIn() 공개 정적인 메소드

public static SetIn ( System newIn ) : void
newIn System
리턴 void

SetOut() 공개 정적인 메소드

public static SetOut ( System newOut ) : void
newOut System
리턴 void

SetWindowPosition() 공개 정적인 메소드

public static SetWindowPosition ( int left, int top ) : void
left int
top int
리턴 void

Write() 공개 정적인 메소드

public static Write ( bool value ) : void
value bool
리턴 void

Write() 공개 정적인 메소드

public static Write ( char buffer, int index, int count ) : void
buffer char
index int
count int
리턴 void

Write() 공개 정적인 메소드

public static Write ( decimal value ) : void
value decimal
리턴 void

Write() 공개 정적인 메소드

public static Write ( double value ) : void
value double
리턴 void

Write() 공개 정적인 메소드

public static Write ( float value ) : void
value float
리턴 void

Write() 공개 정적인 메소드

public static Write ( int value ) : void
value int
리턴 void

Write() 공개 정적인 메소드

public static Write ( long value ) : void
value long
리턴 void

Write() 공개 정적인 메소드

public static Write ( object value ) : void
value object
리턴 void

Write() 공개 정적인 메소드

public static Write ( string value ) : void
value string
리턴 void

Write() 공개 정적인 메소드

public static Write ( string format, object arg0 ) : void
format string
arg0 object
리턴 void

Write() 공개 정적인 메소드

public static Write ( string format, object arg0, object arg1 ) : void
format string
arg0 object
arg1 object
리턴 void

Write() 공개 정적인 메소드

public static Write ( string format, object arg0, object arg1, object arg2 ) : void
format string
arg0 object
arg1 object
arg2 object
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( ) : void
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( bool value ) : void
value bool
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( char value ) : void
value char
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( char buffer, int index, int count ) : void
buffer char
index int
count int
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( decimal value ) : void
value decimal
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( double value ) : void
value double
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( float value ) : void
value float
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( int value ) : void
value int
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( long value ) : void
value long
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( object value ) : void
value object
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( string value ) : void
value string
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( string format, object arg0 ) : void
format string
arg0 object
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( string format, object arg0, object arg1 ) : void
format string
arg0 object
arg1 object
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( string format, object arg0, object arg1, object arg2 ) : void
format string
arg0 object
arg1 object
arg2 object
리턴 void