JustCode

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

Note

Language Support

Supported: C#, VB.NET

Not relevant: JavaScript, ASP.NET,XAML, HTML

To convert an extension method to static helper method

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

    Convert Extension Method To Static
  2. The result is:

    Convert Extension Method To Static Result