Convert to Property
The Convert to Property refactoring lets you convert an instance variable to a property.
Converting to a property
Place the caret within the editor window.
On the main menu or on the context menu, choose
.In the dialog that opens, select the instance variable(s) you wish to convert.
Click OK to perform the refactoring.
Last modified: 19 September 2019