ReSharper Web Help

To quickly duplicate a code line or selection
  1. Position the caret at any line, or select a block of source code:
  2. On the main menu, choose ReSharper | Edit | Duplicate Text, or, alternatively, press Ctrl+D. A code duplicate will be inserted right after the original code:


This feature is especially useful in conjunction with Extend/Shrink Selection - for example, you can quickly select a method, press Ctrl+D to duplicate it, and modify the copy to create a new overload.

See Also