Click here to Skip to main content
13,143,985 members (34,573 online)
Click here to Skip to main content
Add your own
alternative version


2 bookmarked
Posted 10 Jun 2010


, 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

You may also be interested in...

Comments and Discussions

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

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

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

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