Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alternative to Visual Foxpro
Message
De
27/05/2008 15:53:10
 
 
À
27/05/2008 15:42:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01319496
Message ID:
01319783
Vues:
13
I'm not knowledgeable enough to answer that. I believe the number of subclasses is unlimited, but don't quote me. I know that C# supports single class inheritance only - you can specify only one base class to inherit from. However, it does allow multiple interface inheritance. You just can't inherit from multiple base classes (you have to use an interface and dup all base classes). There was a discussion here on the UT about it. The biggest issue was that most see using multiple inheritence as bad design. I think if the business need warrants it, do it. I certainly don't want to open that can of worms again! :o)



>>There is no visual method of subclassing in C# (like the gui visual method of subclassing in vfp) - it can only be done by typing code.
>
>Hi Tracy :)
>Subclassing in code should not be a problem but;
>How about inheritance? How meny subclassing level they can have?
>
>
>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform