Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# discussion: Redundant class names?
Message
De
29/07/2008 10:14:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
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:
01334871
Vues:
7
>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();

Might be:

circle = (Circle)new Circle2();

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform