The To Object Initializer refactoring allows you to quickly convert assignment statements to an object initializer by adding them to the constructor.
Supported: C#, VB.NET
To Object Initializer
Put the cursor over the name of the object or over the constructor.
Press Alt+Insert. From the pop-up menu, select To Object Initializer.
The result is :
To convert to object initializer you can also navigate on the main menu. Choose JustCode | Refactor | To Object Initializer.