Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overriding Base Events in C#
Message
De
05/04/2002 20:50:14
 
 
À
05/04/2002 20:40:50
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00641684
Message ID:
00641708
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform