C# – Call base constructor and other constructor in constructor

cconstructorinheritancenet

Title may sound confusing.
What I want is to call a constructor of the same class and the constructor of the base class inside a constructor.
Maybe my first attempt to solve that may explain my question:

public MyClass(MyClass obj) : base(obj),this() {}

But that notation isn't working.
Is there any solution to solve that?

Best Answer

No, you can't do it for the following reason:

When a constructor calls the constructor of its base, the latter call is THE PART of the constructor in question. So you can't call another constructor of the same class AND a constructor of a base class because the former call already contains a call to a base constructor - you can't initialize your base twice