Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Commenting code
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00726149
Message ID:
00726271
Views:
16
Hi Cathi,

I had a sneaking suspicion that that was what Jim was really asking about, but I had no clue how to do it. In fact, I happened to see you comment some code in one of your .NET sessions at WhilFest this way, but didn't catch which icon you clicked on. I looked for myself trying to find it, but I guess I missed it. Thanks for the tip!!

~~Bonnie

>Hi Jim,
>
>To comment out a block of code in VS.NET, you can highlight the desired lines of code and then click on the icon on the toolbar that has horizontile lines with the second and third line shown in light blue. For the menu equivalent, select Edit/Advanced/Comment Section.
>
>To uncomment out a block of code in VS.NET, you can highlight the desired lines of already commented code and then click on the icon on the toolbar that has an undo arrow (rounds counterclockwise) then four horizontile lines with the first and second line shown in light blue. For the menu equivalent, select Edit/Advanced/UnComment Section.
>
>>Thanks for all your replies.
>>But a need to be more specific.
>>
>>How do I comment a BLOCK of code?
>>In VFP you could right click on a block of code and comment/uncomment the entire section.
>>
>>thanks
>>jim
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform