public NiceShapes() { circle = new Circle(); circle.GetRadius(); x = 5; //draw3D = new Triangle(); draw3D = new Circle(); //draw3D = new Canvas(); object obj = circle; draw3D.DrawIn3D(); }
static void Draw3D(IDraw3D draw3D) { draw3D.DrawIn3D(); }