Top "Base-class" questions

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

Can you extend the default JsonConverter used in JSON.NET for collections?

I'm trying to write a custom JsonConverter for cases where a person subclasses a list or collection, but then adds …

c# json.net base-class default-implementation
C# "Rename" Property in Derived Class

When you read this you'll be awfully tempted to give advice like "this is a bad idea for the following …

c# properties alias derived-class base-class
base.Method() with multiple levels of inheritance not being called?

I've searched and not been able to find any solution to my problem. My scenario is very simple: public class …

c# .net inheritance base-class
Understanding virtual base classes and constructor calls

I'm a bit confused about how virtual base classes work. In particular, I was wondering how the constructor of the …

c++ virtual multiple-inheritance base-class
Do you have a common base class for Hibernate entities?

Do you have a common base class for Hibernate entities, i.e. a MappedSuperclass with id, version and other common …

java hibernate entities base-class
C++: Protected Class Constructor

If a class is always going to be inherited, does it make sense to make the constructor protected? class Base { …

c++ inheritance polymorphism base-class
ASP.NET MVC: Ignore custom attribute in a base controller class

I have a number of Controllers in my project that all inherit from a controller I've named BaseController. I wrote …

asp.net-mvc inheritance custom-attributes base-class