Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overriding Base Events in C#
Message
From
05/04/2002 20:50:14
 
 
To
05/04/2002 20:40:50
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00641684
Message ID:
00641708
Views:
17
>Hi Claudio,
>
>My understanding is that he cannot declare his override method as private since declaring the base class method virtual makes it public and his base class method cannot be private either. So his override must be public as well.
>

Hi, Pat.

You´re totally right... I have missed the point he said about "private". That´s it: by definition, both "override" and "virtual" must be used with public.
Claudio Lassala
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform