There is a tool for refactoring C# code which seamlessly integrates with VS.NET IDE ..
Here's the feature list.
Full integration with the IDE allows for quick-access to important refactorings such as Extract Method - simply highlight the code you want to move, then invoke the Refactoring interface to quickly and reliably re-shape your code.
- Provides useful refactorings.
- Reliably improves code design.
- Increases individual and team productivity.
- Improves the quality of the application development process.
- Removes the time-consuming and error-prone task of rewriting or refactoring by hand.
Here's the download for the evaluation copy ! Gonna try it now.
Also there is a C# unit testing framework .. i haven't checked it out but here goes ..