Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple inheritance
Message
De
20/12/2011 13:10:50
 
 
À
20/12/2011 13:09:00
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:
01531450
Vues:
36
>Multiple inheritance is not supported in VB/C#, except through interfaces. IMO, it's a good thing. Imagine if you have a command button that inherits from multiple base classes, that each have code in the Click method. Which one would you want to run? And what if they do conflicting things?

Yes, I know. And, I like it like that. It is just for a documentation I am working on and wanted to use the proper terminology.

Yes, you are right. It is a complex context to support and I am OK that we do not have to deal with that in .NET.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform