The Create Variable quick fix is available once Telerik® JustCode™ has detected an unknown identifier in your code. By executing this fix, Telerik® JustCode™ automatically creates a local variable in the current method/constructor with the same name as the unknown identifier.
Supported: C#, VB.NET, Razor
Not relevant: ASP.NET, XAML, HTML
To create a variable
- Position the caret over an unknown identifier.
Press Alt+Enter. From the pop-up menu, select Create Variable 'the unknown identifier'
The result is: