Refactor code

Applies to: yesVisual Studio noVisual Studio for Mac noVisual Studio Code

Refactoring is the process of modifying code in order to make it easier to maintain, understand, and extend, but without changing its behavior.

Programming languages

Different refactoring operations are available for different programming languages in Visual Studio:

See also