Telerik® JustCode™ by Progress

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:

Make Static Example

Telerik® JustCode™ will automatically underline the method identifier and report an error.

To make the method static

  1. Position the caret over the underlined error.

    Make Static Select
  2. Press Alt+Enter. From the pop-up menu, select Make Static.

    Make Static Result

See Also

Other Resources