O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required