Refactoring tool of Visual Studio 2005 September 7, 2007
Posted by addisu in Software - .NET 2.0, Software - .NET General, Software - ASP .NET 2.0, Software - C#.trackback
How much do u use refactoring tool of Visual Studio 2005?
- Rename: i probably use this tool more often. Once you declare a class or a variable and used it everywhere, “rename” tool is the best if you are not happy with the name. Naming is one of best practice and the name of a class or a variable should be descriptive. You might not come up with the best name at the beginning.
- Extract Method: This is another tool i use. Every time there is a reusable portion of code that exist in my method, i used “Extract Method” to have another smaller method. … for two purposes sometimes,..one to reuse the code and two, to make smaller size and readable method
- Generate Method Stub: even though it is not part of the Refactoring tool part, i like to use this tool. I write a method call to an object that doesn’t exist. I use this tool to generate the method stub. The best part of this tool is, it knows if private or internal or public should be used. … the name and type of parameter, return value…


I recently started using resharper http://www.jetbrains.com/resharper/ it’s an excellent add-in for Visual Studio 2005/2008.
And there are some nice videos on http://www.dimecasts.net/Casts/ByTag/ReSharper