6

Say I am inheriting from a class with several "overloaded" constructors.

By any chance is there a short cut in Visual Studio which writes the constructors in the derived class with the same signatures as in the default class for me, with boilerplate code which calls MyBase.New(...) and plugs in the arguments for me?

EDIT: As far as I can find there is no such shortcut built-in, however there is one in resharper as suggested by Raymond.

1 Answer 1

6

I don't know about a shortcut in a standard Visual Studio installation, but if you install the excellent Resharper plugin from jetBrains, it is Alt-Insert, C. I don't develop without it.

Sign up to request clarification or add additional context in comments.

1 Comment

A link to the plugin would have been excellent: jetbrains.com/resharper

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.