Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Rectangle: Polygon
- {
- public Rectangle(double length, double width)
- {
- Length = length;
- Width = width;
- }
- public override double GetArea()
- {
- return Width * Length;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement