Common Refactoring TechniquesHere are some examples of code refactoring; some of these may only apply to certain languages or language types. A longer list can be found in Fowler's Refactoring book and on Fowler's Refactoring Website.
Refactoring in visual studioWhy refactor? you know better why, because we have written crappy codes and its making our life hell, and killing lots of precious development hours. we could write thousands of line just to describe why we need refactoring, but lets not go in that debate. We are here to learn refactoring features provided by visual studio to clean up our codes. The refactoring techniques are given bellow.