Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using classes of different types
Message
De
26/08/2005 12:10:01
 
 
À
26/08/2005 00:35:44
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01044144
Message ID:
01044353
Vues:
13
Thanks, Bonnie...

Exactly what I needed. Hope to see you at the Summit.



>Hey Craig,
>
>Declare your worker class to be the base class, but instantiate it as the sub-class. Like this:
>
>    // Declaration
>    private MyBaseClass worker;
>
>    // Instantiation
>    this.worker = new MySubClass();
>
>
>~~Bonnie
>
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform