News

The main function uses a static method that's defined by SomeClass to instantiate the MyCallback delegate. The delegate then becomes an alternate method of calling this function, as demonstrated by ...
-draw() must be a member of Shapes class for polymorphic dispatch to work (i.e. we'll have a pointer to Base class and we can use that pointer to call draw() of different shapes that inherit Shapes ...