Shortcut for creating constructor with base (C# Visual Studio 2015)
问题 In Visual Studio C# you can, in a class, type ctor and then press Tab and Visual Studio will create a constructor for that class for me. Very convenient. But is there a way (shortcut) to make Visual Studio generate all constructors with bases from its inherited class? For example, public class User:ClassA { public User() {} public User(string S):base(S) {} public User(string S, int I):base(S, I) {} ... } 回答1: I do not have ReSharper and it is possible. You can select your base class and press