In Visual Studio 2005, the Rename refactoring operation is very straightforward, as described below.
- Highlight the identifier that needs to be renamed.
- Type the new identifier over the selection.
- When the IDE displays a caret underlining the first part of the identifier, press Alt+Shift+F10. The IDE will display a drop-down list of applicable refactoring operations.
- Select the Rename operation from the drop-down list.