// A few example members
// Virtual method
// Code to draw a circle...
// Code to draw a rectangle...
// Code to draw a triangle...
// Polymorphism at work #1: a Rectangle, Triangle and Circle
// can all be used whereever a Shape is expected. No cast is
// required because an implicit conversion exists from a derived
// class to its base class.
// Polymorphism at work #2: the virtual method Draw is
// invoked on each of the derived classes, not the base class.
// Keep the console open in debug mode.
/* Output:
Drawing a rectangle
Performing base class drawing tasks
Drawing a triangle
Performing base class drawing tasks
Drawing a circle
Performing base class drawing tasks
*/