Refactoring Variable Assignments

Some common refactoring opportunities found during code reviews are “magic numbers” that should be variables or constants, code that should assigned a variable to allow clarity and re-use, and variables that could more easily be expressed as inline code. Visual Studio 2015 allows you to quickly refactor to take advantage of these opportunities.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset