How to promote a local variable as parameter?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
How to promote a local variable as parameter?
Rating:
Take the following steps to promote a local variable as parameter:
- Open the Console application code window, and select a constant variable to promote it as parameter.

- Click on the Refactor menu and then click Promote Local Variable to Parameter.

- Finally, the selected local variable becomes the parameter.

Rating:
Was this information helpful?
Other articles
- What is testing?
- What is the IDictionary interface?
- What is the EventLog class?
- What is a user control?
- What is the User Interface (UI)?
