DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Hybrid View

  1. #1
    Join Date
    Aug 2006

    copy common base class in C#

    Sorry if this is a basic question, but I haven't been able to figure it out:

    In C#, is there a way to copy the base class properties between 2 objects that share a common base class without copying each base class property separately? eg, Class B and Class C both derive from Class A. I want to copy the base class properties (inherited from Class A) of Class B object into the same inherited properties in a Class C object.
    Last edited by xja; 08-24-2006 at 10:53 AM.

Similar Threads

  1. Replies: 1
    Last Post: 06-05-2006, 01:03 PM
  2. JDOM Classpath Help Required
    By kpandya in forum Java
    Replies: 5
    Last Post: 01-15-2006, 07:10 PM
  3. class vector<?>
    By pseudo in forum C++
    Replies: 3
    Last Post: 02-14-2005, 06:48 AM
  4. Replies: 1
    Last Post: 06-13-2002, 02:52 PM
  5. Replies: 205
    Last Post: 09-26-2001, 01:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.