C# Class AsgQuizzes.OOShapes

显示文件 Open project: asg123/NTRquizzes

Public Methods

Method Description
AddRectangle ( double height, double width ) : void
AddTriangle ( double height, double width ) : void
PrintAll ( ) : string

Method Details

AddRectangle() public method

public AddRectangle ( double height, double width ) : void
height double
width double
return void

AddTriangle() public method

public AddTriangle ( double height, double width ) : void
height double
width double
return void

PrintAll() public method

public PrintAll ( ) : string
return string