Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# discussion: Redundant class names?
Message
De
29/07/2008 10:11:48
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01334856
Message ID:
01334868
Vues:
6
One reason could be inheritance. Let say that class Circle2 derive from Circle. This expression is legal:
Circle circle = new Circle2();
>But why would they make such a design choice? It truly seems redundant to me, just extra typing.
>
>Tautology tt = New Tautology();
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform