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

Renaming Code

Renaming code elements is the most common Refactoring operation. Visual Studio supports Rename operations in Visual Basic, C#, C++, database schemas, and other code elements. Thankfully, all these Rename operations work in a similar fashion.

Most developers do not wait until the code base is operational and say to themselves, “Okay, now I will go back and rename items for clarity.” The more likely scenario is that as you build your application, you consistently rename items to correct mistakes or make things clearer and more readable. Of course, as the code base builds, it becomes more and more difficult to rename classes, methods, fields, and the like without introducing new bugs into your code.

The capability to rename items ...

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