Telerik® JustCode™ by Progress

The Convert Method To Property refactoring allows you to easily convert a method to a property


Language Support

Supported: C#, VB.NET

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

To convert a method to a property

  1. Select the method you want to convert.

    Convert Method To Property Selected
  2. Press Alt+Insert. From the pop-up menu select Convert Method To Property.

    Convert Method To Property Executed
  3. JustCode will replace the method with a property.


You can not convert a void method to a property.


To convert a method to a property you can also navigate on the main menu. Choose JustCode | Refactor | Convert Method To Property.

See Also

Other Resources