The Make Static quick fix is available once JustCode has detected an instance method in a static class.
Note |
---|
Language Support Supported: C# Not supported: VB.NET Not relevant: ASP.NET, XAML, JavaScript, HTML |
Example
If you have an error for an instance method in a static class:
Telerik® JustCode™ will automatically underline the method identifier and report an error.
To make the method static
Position the caret over the underlined error.
Press Alt+Enter. From the pop-up menu, select Make Static.
See Also