Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design issues
Message
De
06/08/2010 13:40:22
 
 
À
06/08/2010 13:34:22
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01475236
Message ID:
01475558
Vues:
28
>My reasoning for using an interface is that he has two classes that don't share a common ancestor,

.... which two classes?

but on which he wants to implement a common method. By implementing an interface he can treat both classes as the same type.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform