Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Subclass A Control
Message
De
07/04/2009 10:14:50
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01392835
Message ID:
01393605
Vues:
55
>>>In fact you never use a base class if you can help it. You inherit not cut and paste if you want to change/modify functionality.
>>
>>This seems contradictory. Can you explain?
>
>I don't think Bernard meant you should never use base classes. I think he meant if you want to change the functionality you should inherit rather than cut and paste. (Well, duh).

That's exactly it. Better than I could put it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform