Telerik® JustCode™ by Progress

The To Assignment Statements refactoring allows you to quickly convert an object initializer to an assignment statements.


Language Support

Supported: C#, VB.NET

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

To Assignment Statements

  1. Put the cursor over the constructor or over a name of a property in the object initializer block.

    To Object Initializer After
  2. Press Alt+Insert. From the pop-up menu, select To Assignment Statements.

    To Assignment Statement
  3. The result is :

    To Object Initializer

To convert to assignment statements you can also navigate on the main menu. Choose JustCode | Refactor | To Assignment Statements.

See Also

Other Resources