SHOW:
|
|
- or go back to the newest paste.
1 | using System; | |
2 | using System.Collections.Generic; | |
3 | using System.Text; | |
4 | ||
5 | namespace create_class | |
6 | { | |
7 | - | class Polygon |
7 | + | abstract class Polygon |
8 | { | |
9 | public double Length { get; protected set; } | |
10 | public double Width{ get; protected set; } | |
11 | abstract public double GetArea(); | |
12 | } | |
13 | } |