Making sure it uses Microsoft Code Convention
This commit is contained in:
@@ -4,21 +4,21 @@ namespace OOP.Figures
|
||||
{
|
||||
public Rectangle(double width, double height)
|
||||
{
|
||||
this.height = height;
|
||||
this.width = width;
|
||||
Height = height;
|
||||
Width = width;
|
||||
}
|
||||
|
||||
public double height { get; set; }
|
||||
public double width { get; set; }
|
||||
public double Height { get; set; }
|
||||
public double Width { get; set; }
|
||||
|
||||
public override double GetArea()
|
||||
{
|
||||
return height * width;
|
||||
return Height * Width;
|
||||
}
|
||||
|
||||
public override double GetPerimeter()
|
||||
{
|
||||
return (height * 2) + (width * 2);
|
||||
return (Height * 2) + (Width * 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user