Types of comments | multiline | singleline in asp.net

How to write comments in asp.net code using c# | multiline | singleline

Single line comment
//Response.Redirect("default.aspx");
by using //
you can make sentence in comments.

For multiple line


/*Response.Redirect("default.aspx");
Response.Redirect("default.aspx");*/

by using
/* ...*/ you can write comments.

0 comments:

Post a Comment