Visual C#.Net >> How to use the base keyword to call a base class method (not a constructor)
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..
Visual C#.Net >> How to use the base keyword to call a base class method (not a constructor)
"Greg Ewing [MVP]" <EMail@HideDomain.com> wrote in message
news:#EMail@HideDomain.com...
> Bob, did you check out MSDN? There's an example up there. Is there
> something that this sample doesn't cover?
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/
vclrfbasepg.asp
>
> --
> Greg Ewing [MVP]
> http://www.citidc.com
>
Thank you Greg, I searched on my numerous books and also on the msdn but I
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.