#017 Keyboard Shortcut to Comment and Uncomment Code

Commenting code is great. We all do it, all day long. Commonly I’ll see the following done to comment multiple lines of C# code.

[HOME],[/],[/],[UP],[HOME],<Repeat />

This just takes too long. It’s too many keystrokes. This Quick 2 minute video shows you all about commenting, and uncommenting, and even has an added little trick to know about ASP.NET (ASPX) Commenting.

[CTRL]+[K],[C] = Comment the current line, or selected lines of code

[CTRL]+[K],[U] = Uncomment the current line, or selected lines of code

http://scottcate.looplogic.com/vstricks017

Comments

comments