Visual Studio – Shortcut key to Duplicate a Line

To duplicate the current line of code in Visual Studio, you simply use the following shortcut key:

Ctrl + C + V

Yeah, that’s it. It is really simple, right? You do not need to install any more 3rd party duplicate extensions in your Visual Studio, such as Duplicate Selection.

We have tested the above shortcut key in Visual Studio 2017, 2015, 2013, and 2012 and it works as expected.

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Michel Recent comment authors
newest oldest most voted
Michel
Guest
Michel

Tnx for the tip!