Partager via


Refactoring C# in Visual Studio .NET 2005

MSDN has posted a good article on Refactoring C# Code Using Visual Studio 2005 that introduces the concept of refactoring and covers many of the techniques that are supported in the new IDE. This is a perfect time to plug Martin Fowler’s excellent book on the subject, Refactoring: Improving the Design of Existing Code. If you’d like to dive a little deeper, it’s worth adding this classic text to your library.

For those of you who can't use VS.NET 2005 for whatever reason, I've had good success with Xtreme Simplicity's C# Refactory tool.

Comments

  • Anonymous
    July 13, 2004
    One of the best refactoring tools for VS.NET 2003 is Resharper http://www.jetbrains.com/resharper/.

    Currently there Release candiate available .



  • Anonymous
    July 14, 2004
    I second the Resharper vote, I have used Resharper and C# Refactory and Resharper much more feature rich.
  • Anonymous
    July 14, 2004
    I guess I need to try Resharper again. The first time I tried it, I found it to be very unstable and not nearly as responsive as C# Refactory. Of course, it was a pre-beta version, so I probably owe it to myself to try it again.
  • Anonymous
    March 29, 2006
    C# refactory does not seem to work in .NET2005.  One of the reasons we were using it was to generate Complexity metrics.