Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple inheritance
Message
De
20/12/2011 15:24:06
 
 
À
20/12/2011 14:15:10
Information générale
Forum:
ASP.NET
Catégorie:
Programmation orienté objet
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01531439
Message ID:
01531472
Vues:
32
>I'm not sure what you're trying to describe, so it's difficult to provide terminology

Well, there are two situations, where both of them are not supported in .NET.

The first is multipe inheritance, where a sub class can inherit from multiple base classes or, as known in the Wikipedia link, superclasses. This, of course, as mentioned, is not that good.

The second one is about composition. This would then allow a sub class to benefit from components from several base classes. This seems to be related to Polymorphism.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform