How to comment code in asp.net?
Comment code in asp.net page as follow:
<%write comment here%>
Shortcut key for do comment in aspx page in asp.net as follow:
CTRL + K, CTRL + C For Make comment selected text.
CTRL + K,CTRL + U For Remove comment of selected text.
Do comment in aspx.cs(code behind) page in asp.net as follow:
//comment can write here
advantage of comment or use of comment as follow:
- Removed at compile-time
- Doesn't increase size of markup
- You can even optimize with them
Improve Your Answer as comment below.
If our post is useful please share and comment on our post for more post and detail Visit :
http://aspdotnethelpmaster.blogspot.in/
0 comments:
Post a Comment