In Visual Studio 2010 C# you can, in a class, type ctor and then press tab and Visual Studio will create a constructor for that class for me. It is very convenient.
But is there a way to make Visual Studio create a constructor with all my variables, properties and so on?
For example,
public class User
{
    public String UserName { get; private set; }
}
And for this I want ctor + tab to make me a
public User(string UserName)
{
    this.UserName = UserName;
}
 
     
    
 
     
     
     
     
     
    