Re: Selecting class at runtime
From: Ravichandran J.V. (jvravichandran_at_yahoo.com)
Date: 04/25/04
- Next message: C# Learner: "Re: C# Standard Vs Professional"
- Previous message: Ravichandran J.V.: "Re: simple switch statement question"
- In reply to: Daniel Bolege: "Selecting class at runtime"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 25 Apr 2004 02:51:23 -0700
An abstract class serves as a blueprint for some implementation and
hence, whatever methods that may be used in future, through inheritance,
should be declared as prototypes in the abstract class.
Declare your DoStuff method as virtual so that they could be overridden
in the deriving classes and then, calls to the derived class methods
through an object of type Base Class will work.
with regards,
J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: C# Learner: "Re: C# Standard Vs Professional"
- Previous message: Ravichandran J.V.: "Re: simple switch statement question"
- In reply to: Daniel Bolege: "Selecting class at runtime"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|