advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

Code Refactoring in VS.NET 2005

Find out how to use VS.NET 2005's Refactoring engine to improve the structure and readability of your C# source code while preserving its functionality. 


advertisement
evelopment is often a messy process. Often, you need to organize your code to make it more readable, or restructure it to improve readability. Manually polishing code is both cumbersome and error prone. Fortunately,VS.NET 2005's Refactoring Tool is an awesome new feature that lets you modify your code without affecting its functionality—in other words, it helps you organize your C# code without changing the runtime outcome. This article shows you how to use the Refactoring Tool in Visual Studio.NET 2005 to refactor your C# code with ease.


According to MSDN:
"Refactoring is a formal and mechanical process, used to modify existing code in such a way that it does indeed become 'better' while preserving the program's intended functionality. In addition to improving a program's overall design, the refactoring process tends to yield code which is far easier to maintain and extend in the long run."
Editor's Note: Although it doesn't ship with the product, Microsoft supplies a free add-in for refactoring VB.NET code
The Refactor Menu
In Visual Studio.NET 2005, you can invoke refactoring either from the Visual Studio menu bar or from the context menu (see Figure 1).

It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



advertisement