Keyboard shortcut to comment/uncomment a section of code

By Indranil Chatterjee

If we need to comment/uncomment a section of selected code in he editor, Visual Studio short cuts can help us.

Select the relevant section of code and press the CTRL (the control key) + K,C key combination to comment that section. Likewise, to uncomment, select the commented section and press the CTRL (the control key) + K,U key combination to comment that section.

Keyboard shortcut to comment/uncomment a section of code  (1017 Views)