Written some cool source code? Upload it to Programmer's Heaven.

Multiple Inheritance in C#

Submitted By: WEBMASTER
Rating: star (Rate It)
Share: Share By Email By Email

Visit


Description

Can you inherit from multiple classes in C#? Simply put, this cannot be done. However there are ways around it. From a design perspective you must ask yourself, Will a Class fully represent an object?

Comments (2)

Pretty pointless star   Posted on Wednesday, March 12, 2003

"Don't use multiple inheritance, use interfaces." Yeah, thanks. Figured that out already. But why not?

Communication Breakdown star   Posted on Tuesday, May 18, 2004

Many inaccuracies. Just because you know how a programming technique works, clearly does not necessarily mean you know how to explain it to others.

Add Your Rating

(Not published)
star
starstar
starstarstar
starstarstarstar
starstarstarstarstar
 
Popular resources and forums for programmers on Programmersheaven.com
Assembly, Basic, C, C#, C++, Delphi, Java, JavaScript, Pascal, Perl, PHP, Python, Ruby, Visual Basic
© Copyright 2009 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin. Read the latest words from the publisher here.
Be the first to sign up for Lars Hagelin’s In-depth Outsourcing Newsletter here.
bootstrapLabs Logo A bootstrapLabs project.