DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Join Date
    Aug 2006
    Posts
    3

    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

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links