The Initialize From Constructor quick fix is available once Telerik® JustCode™ has detected that a private class member is not initialized.
Note |
---|
Language Support Supported: C# Not supported: VB.NET Not relevant: ASP.NET, XAML, JavaScript, HTML |
To initialize from constructor
Position the caret over the underlined class member.
Press Alt+Enter. From the pop-up menu, select Initialize 'a' from Contructor
Type the constructor parameter's name and hit Enter
The result is:
See Also