static void Main(string[] args) { var circle = new Circle(); circle.Draw(); var rectangle = new Rectangle(); rectangle.Draw(); }
static void Main(string[] args) { // cannot instanlized shape // var shape = new Shape(); var circle = new Circle(); circle.Draw(); var rectangle = new Rectangle(); rectangle.Draw(); }