프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Color | ConsoleColor | ||
X | int |
메소드 | 설명 | |
---|---|---|
CalculateDistance ( |
||
Point2D ( int x, int y ) : System | ||
Point2D ( int x, int y, ConsoleColor color ) : System | ||
PrintDistance ( |
메소드 | 설명 | |
---|---|---|
Square ( double num ) : double |
메소드 | 설명 | |
---|---|---|
PrintCoordinates ( |
Печатает пару координат x и y заданным цветом После завершения метода цвет консоли будет таким же как до её вызова |
public CalculateDistance ( |
||
other | ||
리턴 | double |
public Point2D ( int x, int y, ConsoleColor color ) : System | ||
x | int | |
y | int | |
color | ConsoleColor | |
리턴 | System |