Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / inheritance

Inheritance

inheritance

Great Reads

by Achilleas Margaritis
C++0x Dynamic Message Passing Ala Objective-C
by GProssliner
cobj is a preprocessor based generator for interface based polymorphism
by Akhil Mittal
This article will cover almost every OOP concept that a novice/beginner developer hunt for, and not only beginners, the article’s purpose is to be helpful to experience professionals also who need to sometimes brush-up their concepts or who prepare for interviews.
by Akhil Mittal
Diving in OOP (Day 2):My article in the second part of the series will focus solely on inheritance concept in OOP

Latest Articles

by Achilleas Margaritis
C++0x Dynamic Message Passing Ala Objective-C
by GProssliner
cobj is a preprocessor based generator for interface based polymorphism
by Akhil Mittal
This article will cover almost every OOP concept that a novice/beginner developer hunt for, and not only beginners, the article’s purpose is to be helpful to experience professionals also who need to sometimes brush-up their concepts or who prepare for interviews.
by Akhil Mittal
Diving in OOP (Day 2):My article in the second part of the series will focus solely on inheritance concept in OOP

All Articles

Sort by Score

inheritance 

by OriginalGriff
Sometimes, it helps to know the complete inheritance of an object or type in order to understand what can be done with it. This Tip presents a simple C# class to access the information
by johannesnestler
OriginalGriff has made a nice and small class. But I don't think I would use this code in an application. Most times when I want to know about the inheritance chain of an object is while I'm coding. So a quick and nice (commandline?) tool would be a better fit, I think. The problem with...
by tonyt
namespace System{ public static class SystemExtensionMethods { public static string GetAncestry( this object target ) { return string.Join( " -> ", target.GetTypes().Reverse().Select( t => FormatName( t ) ).ToArray() ); } public...
by Luc Pattyn
This is an alternative to "Following Object Inheritance"
by Artem Elkin
Thoughts of how implementation inheritance violates Dependency Injection and Dependency Inversion principles.
by Joezer BH
Understanding structs - why C# does not allow a struct to be inherited
by Bryan Lyman
Generic list wrapper that returns a smaller strongly typed sub-list which modifies the parent-list when changed, without using events