Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# discussion: Redundant class names?
Message
From
29/07/2008 10:14:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
29/07/2008 10:11:48
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01334856
Message ID:
01334871
Views:
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();

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform