The Create Property quick fix is available once Telerik® JustCode™ has detected an unknown identifier in your code.
Telerik® JustCode™ suggests you to create a field, property or auto-implemented property. By executing this fix,
Telerik® JustCode™ automatically creates a property in the current class with the same name as the unknown identifier.
Note |
---|
Language Support Supported: C#, VB.NET, Razor Not relevant: JavaScript, ASP.NET, XAML, HTML |
To create a property
- Position the caret over an unknown identifier.
Press Alt+Enter. From the pop-up menu, select Create property 'the unknown identifier'
The result is:
See Also