Click here to Skip to main content
11,928,078 members (26,661 online)
Click here to Skip to main content
Add your own
alternative version


2 bookmarked


, 10 Jun 2010 CPOL
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 11:54
memberSauro Viti23-Jun-10 11:54 
GeneralIt's also quite handy to change the shortcut keys that perfo... Pin
Kschuler21-Jun-10 6:34
memberKschuler21-Jun-10 6: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.

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