Keep in touch

you can keep in touch with my all blogs and sites by install this Toolbar...
http://rworldtoolbar.ourtoolbar.com/

Thursday, July 24, 2008

Visual Studio.NET: How To Comment/Uncomment Large Blocks of Code

Hello .Net Coders,
This One is for you,
To comment a large block of code (VS.NET), highlight the area you want to comment out and hold Ctrl and press K and then C.
To uncomment, highlight the commented area and hit Ctrl + K + U.
The mass uncommenting merely removes the forward-most apostrophe, so if you have actual comments in your commented code that were included in your initial highlighted region, they will remain comments upon uncommenting.

This tips is using at debugging time is most used by me.

Happy Coding..!

No comments: