Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Shapes
- {
- public abstract class Shape
- {
- public abstract double CalculatePerimeter();
- public abstract double CalculateArea();
- public virtual string Draw()
- {
- return "Shape: ";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement