To apply 'rename' refactoring
  1. Position the caret at the name of a variable.
  2. Do one of the following:
    • On the main menu, choose ReSharper | Refactor | Rename.
    • Press F2.
    • Press Ctrl+Shift+R and select Rename in/on the Refactor This context menu.
  3. The edited variable is placed in a red rectangle, all others in black dotted rectangles.
  4. Type a new name and press Enter to apply the changes.