Duplicate Line/Selection

You can quickly duplicate any line or block of code.

  1. Place the caret on the line in the editor (or select the desired block)
  2. Press Ctrl + D or select ReSharper | Code | Duplicate Line or Selection in the main menu.

See Also

Other Code Editing Assistance