Advertisement
Guest User

Untitled

a guest
Nov 14th, 2021
140
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4.  
  5. namespace Shapes
  6. {
  7. public abstract class Shape
  8. {
  9. public abstract double CalculatePerimeter();
  10. public abstract double CalculateArea();
  11.  
  12. public virtual string Draw()
  13. {
  14. return "Shape: ";
  15. }
  16. }
  17. }
  18.  
Advertisement
RAW Paste Data Copied
Advertisement