Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# Private Methods
Message
De
17/04/2008 11:25:38
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01311454
Message ID:
01311458
Vues:
24
>If I create a base class, then subclass it into another, how do I make the methods in the base only visible to subclasses?

Check out http://msdn2.microsoft.com/en-us/library/ms973875.aspx.

I think you would want to declare your methods as Protected.
Very fitting: http://xkcd.com/386/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform