What's the harm in calling a virtual method in a constructor? Well, the problem is that virtual calls always act on the most derived type. This means that, if you make a virtual call in a constructor, and the type you're on is not the most derived type, you'll end up calling it on a class whose constructor has not been run. As you can imagine, this can, in certain situations, lead to confusion and errors.
Skip to end of metadata Go to start of metadata