Telerik® JustCode™ by Progress

The Convert plain static method to extension method refactoring allows you to easily convert a static method to extension.

Note

Language Support

Supported: C#, VB.NET

To convert a plain static method to extension method

  1. Select the static method you want to convert. Press Alt+Insert. From the pop-up menu select To Extension Method.

    Convert Static Method To Extension
  2. The result is:

    Convert Static Method To Extension Result