C# Class Exercise7_4.Square

Afficher le fichier Open project: Softwire/Learning-C-sharp Class Usage Examples

Méthodes publiques

Méthode Description
Display ( ) : void
Square ( Point topLeft, int length ) : System

Initialises a square of given side length, located by fixing the top-left corner.

Method Details

Display() public méthode

public Display ( ) : void
Résultat void

Square() public méthode

Initialises a square of given side length, located by fixing the top-left corner.
public Square ( Point topLeft, int length ) : System
topLeft Point Co-ordinates of the top-left point, (assuming (0,0) in this coordinate system lies in the top left of the graph.)
length int Side Length
Résultat System