Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using classes of different types
Message
From
26/08/2005 12:10:01
 
 
To
26/08/2005 00:35:44
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01044144
Message ID:
01044353
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform