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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access