static void main() { ThreeDCircle o = new ThreeDCircle(); // This calls the Draw() method of the ThreeDCircle. o.Draw(); // This calls the Draw() method of the parent! (( Circle) o). Draw(); Console.ReadLine(); }
static void main() { ThreeDCircle o = new ThreeDCircle(); // This calls the Draw() method of the ThreeDCircle. o.Draw(); // This calls the Draw() method of the parent! (( Circle)o).Draw(); Console.ReadLine(); }