For C#, I hate writing out the variables and then writing out all the properties. Isn't there a way to select all variables, right click and create all the properties.
Right click on the field declaration, menu Refactor -> Encapsulate field and you go from
int n;
to
int n;
public int N
{
get { return n; }
set { n = value; }
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With