Hi,
Is there a way to comment multiple line of code in vb.net at once? means not inserting ' in front of each line in case i want to comment 20 lines that will be tedious job?
TIA
Samir Ibrahim
Hi,
Is there a way to comment multiple line of code in vb.net at once? means not inserting ' in front of each line in case i want to comment 20 lines that will be tedious job?
TIA
Samir Ibrahim
First block all line of code then press the button on bar. See the pic
There is no way that I know of separate from what is built into Visual Studio. (i.e. there is no \* */ or anything)
In Visual Studio 2005 there is the option to comment and uncomment multiple lines of code. Type your lines just as you need then you highlight them, on the text editor toolbar there are two buttons for this one to comment the other to uncomment. They are just to the right of the indenting buttons.
wht was that tool bar name
Please do not resurrect old threads. If you have any questions please ask. .... You are welcome to start your own threads.
Thread Closed.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.