base, derived objects

Peter Osucha <[email protected]> Thu, 3 May 2007 10:55:34 -0400
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
I have an derived class 'Derived' and a base class 'Base' from which it
derives.  I have a constructor for 'Derived' which contains arguments
for virtually all the properties in 'Base'.  I could create a
constructor for 'Derived' which takes an object of type 'Base'.
However, I am wondering if there is any 'shorthand' for doing this
already built into the system.  

 

Is there? 

 

Peter

 


===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com