Top "Base-class" questions

In Object Oriented Programming, a base class is one from which other classes inherit.

conversion to inaccessible base class is not allowed

I define a class B1 and a derived class D1 at first. Then I want to define a reference to …

c++ base-class
Raise Base Class Events in Derived Classes C#

I have a base class DockedToolWindow : Form, and many classes that derive from DockedToolWindow. I have a container class that …

c# events base-class
Android: Call super() at the beginning or end of onStart(), onStop(), onDestroy() in activity?

Where in onStart(), onStop(), onDestroy() of an activity do I call super.onStart(), super.onStop(), super.onDestroy() ?

android methods base-class
C# private (hidden) base class

Is it possible to make a C# base class accessible only within the library assembly it's compiled into, while making …

c# inheritance private base-class
Order of calling base class constructor from derived class initialization list

struct B { int b1, b2; B(int, int); }; struct D : B { int d1, d2; // which is technically better ? D (int …

c++ inheritance constructor base-class initialization-list
Inconsistent accessibility: base class is less accessible than child class

I am reading book "C# 4.0 in a nutshell" by Joseph Albabari and Ben Albabari. From there I find a topic …

c# inheritance base-class
C# protected members accessed via base class variable

It may seems rather newbie question, but can you explain why method Der.B() cannot access protected Foo via Base …

c# inheritance protected base-class
Constructor and Destructor Inheritance

I believe Constructors and Destructors in base class cannot be inherited by derived classes of the base class. Is my …

c++ inheritance derived-class base-class
ExecuteCore() in base class not fired in MVC 4 beta

I have a base controller class: And all my other controller inherits this BaseClass like this All this works great …

controller asp.net-mvc-4 base-class
In .NET, can you use reflection to get all non-inherited methods of a class?

Because of this issue here, I'm trying to write a custom JsonConverter that handles cases where you subclass a list …

c# reflection subclass base-class class-members