Say you have a constructor in a newly created class:
public MyClass( string input1, float input2)
{
}
Is there a shortcut to produce code analogous to this?
public string Input1 {get; set;}
public float Input2 {get; set;}
public MyClass(string input1, float input2)
{
Input1 = input1;
Input2 = input2;
}
Many thanks.