Property | Type | Description | |
---|---|---|---|
Color | ConsoleColor | ||
X | int |
Method | Description | |
---|---|---|
CalculateDistance ( |
||
Point2D ( int x, int y ) : System | ||
Point2D ( int x, int y, ConsoleColor color ) : System | ||
PrintDistance ( |
Method | Description | |
---|---|---|
Square ( double num ) : double |
Method | Description | |
---|---|---|
PrintCoordinates ( |
Печатает пару координат x и y заданным цветом После завершения метода цвет консоли будет таким же как до её вызова |
public CalculateDistance ( |
||
other | ||
return | double |
public Point2D ( int x, int y, ConsoleColor color ) : System | ||
x | int | |
y | int | |
color | ConsoleColor | |
return | System |
public PrintDistance ( |
||
other | ||
return | void |
protected static Square ( double num ) : double | ||
num | double | |
return | double |