The difference is that in the first code fragment you call the constructor of the dimensionless base class, while in the second code fragment you call the constructor of the base class with the parameter.
Your base class can be defined as follows:
class qwe{ public qwe(){ } public qwe(SomeAnotherclass ac){ } }
The default constructor for your abc class looks something like this:
class abc{ public abc() : base() {} }
source share