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.
Note |
---|
Language Support Supported: C#, VB.NET Not relevant: JavaScript, ASP.NET, XAML, HTML |
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:
See Also