The base class is WorkerThread. When you create MyClass, WorkerThread must be created using any of its constructors.
When writing base(data) you instruct the program to use a single WorkerThread constructor that takes data as a parameter. If you did not do this, the program will try to use the default constructor - one that can be called without parameters.
Daniel Daranas
source share