Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# discussion: Redundant class names?
Message
From
29/07/2008 10:19:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/07/2008 10:17:19
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01334856
Message ID:
01334875
Views:
8
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
Previous
Reply
Map
View

Click here to load this message in the networking platform