Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# discussion: Redundant class names?
Message
De
29/07/2008 10:19:36
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/07/2008 10:17:19
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01334856
Message ID:
01334875
Vues:
7
I meant if they didn't design it "variable type" first.

If this was legal:

cir = new Circle();

then this might work inheritance:

cir = (Circle)new Circle2();

Cetin

>Not necessary, Circle circle = new Circle2() compile without errors.
>
>>Might be:
>>
>>circle = (Circle)new Circle2();
Ç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
Répondre
Fil
Voir

Click here to load this message in the networking platform