Constructor / Destructor wizard

All screenshots Previous Next  

Often when you add a (read-only) field or property you need to add code to the class constructor to initialize the member. The Creational Wizard is used to centralize this process and define initialization code while you add the member. Optionally a parameter is added to the constructor parameter list to initialize a member. You may select an existing constructor or create a new one. Similar finalization snippets can be inserted in a new or existing destructor.

Read article...

Creational wizard - initialize member in constructor