The Create Property For Unused Field quick fix is available once Telerik® JustCode™ has detected a field that is not used. Telerik® JustCode™ underlines the field and suggests creating a public property for it.
Supported: C#, VB.NET
To create property for unused field
- Position the caret over the unused field.
Press Alt+Enter. From the pop-up menu, select Create property for unused field 'fieldName'.
The result is: