Telerik® JustCode™ by Progress

The Create Default Constructor quick fix is available once Telerik® JustCode™ has detected a call to a nonexisting constructor of the base-class. Telerik® JustCode™ suggests you to make a default constructor.


Language Support

Supported: C#, VB.NET

Not relevant: JavaScript, ASP.NET, XAML, HTML

To create a constructor

    1. Position the caret over the constructor starting block brace.
    2. Press Alt+Enter. From the pop-up menu, select Create Default Constructor.

      Create Default Constructor before
    3. The result is:

      Create Default Constructor after

    See Also