Board index » DotNet » How to use the base keyword to call a base class method (not a constructor)
|
Vger
|
|
Vger
|
How to use the base keyword to call a base class method (not a constructor)
DotNet150
Hello, I have read that the base keyword can be used not only to control a base class instantiation (thus calling one of the base class constructors) but also to access any other public or protected method in the parent class ... I have search all over for an example of how to do this but have failed. What I was wondering is about the syntax necessary to make such a call ..... Thx.. Bob Rock - |
| Bob
Registered User |
Tue Aug 26 07:27:39 CDT 2003
Re:How to use the base keyword to call a base class method (not a constructor)"Greg Ewing [MVP]" <gewing@_NO_SPAM_gewing.com>wrote in message QuoteBob, did you check out MSDN? There's an example up there. Is there Quote
was expecting a diffente syntax that is why I did not find it .... "base" seems to be used pretty much like "this" but it provides access to the parent class instead of the instance object. Bob Rock - |
