How can I create an instance of an object using a class reference, and ensure that the constructor is executed?
In this code example, the constructor of TMyClass wi
You can create an abstract method in base class, and call it in the constructor, and override in child classes to be executed when created from class reference.