Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generic
Message
De
19/09/2008 07:41:23
 
 
À
19/09/2008 07:32:30
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01348858
Message ID:
01348859
Vues:
17
>Hi,
>I read an article and found this code.
>
>IPersonFacade Facade = FacadeFactory.CreateFacade+IPersonFacade+();
>
>public interface IPersonFacade : IFacade+Person+ { }
>
>What does it meant? What is the meaning of +Person+ ? What is the advantage of doing so?
>
>Thank you
>
>Sorry, I use + instead of less/greater than because UT restrict it.
________
Since C# is strongly typed, one would need to write a class, (eg Stack, List, Queue) per type - or casting to and from (object)
Generics allow you to write a class for a generic type

see for example http://msdn.microsoft.com/en-us/library/ms379564(VS.80).aspx
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform