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.

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.