Click here to Skip to main content
Click here to Skip to main content


, 10 Jun 2010
Rate this:
Please Sign up or sign in to vote.
Shortcut for Commenting
In Visual Studio 2010,
Select the lines you want to comment, press Control+K then Control+C
To Un-comment lines, select them, press Control+K then Control+U
Or, you can use the Comment and Uncomment buttons in the Standard Toolbar


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Anshul R
India India
No Biography provided

Comments and Discussions

GeneralIt works not only in Visual Studio 2010 but in 2005 and 2008... PinmemberSauro Viti23-Jun-10 10:54 
GeneralIt's also quite handy to change the shortcut keys that perfo... PinmemberKschuler21-Jun-10 5:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140709.1 | Last Updated 11 Jun 2010
Article Copyright 2010 by Anshul R
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid