Override and Overload

Posted by sladescross on December 23, 2011

http://www.akadia.com/services/dotnet_polymorphism.html


Combining Method Overriding and Hiding


Methods of a derived class can both be virtual and at the same time hide the derived method. In order to declare such a method, both keywords virtual and new have to be used in the method declaration:


class

... [read more]

Rating

not rated

Reviews

There are currently no comments or reviews.

Submit a review:

Login required.