国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > .NET > 正文

ASP.NET中的注釋符號

2024-07-10 12:58:15
字體:
來源:轉載
供稿:網友
<h1>' (single quote)</h1>
the single quote character (') introduces a comment line in vb.net code. it can be used anywhere on a source line. the end of the physical line ends the comment.
<h1>rem</h1>
the keyword rem also introduces a comment in vb.net code. it can be used anywhere on a source line. the end of the physical line ends the comment.
<h1>/* and */ </h1>
the characters /* and */ open and close respectively a multi-line comment block--the so called regular comment--in c# code. regular comments can span over a section of a line, a single line, or multiple lines.
<h1>//</h1>
the double slash characters (//) introduce a one-line comment in c# code and can be placed anywhere on a source line. the one-line comment extends to the end of the line. equivalent to ' and rem in vb.net.
<h1>///</h1>
the comments introduced by tripple slash characters (///) are a c#-specific feature. by means of xml markup you can document your code (e.g. <param> is used for describing parameters). if you run the compiler with the /doc option, it automatically generates an xml documentation file.
<h1><!-- and --> </h1>
the characters <!-- and --> are standard html (adopted from sgml) comment delimiters. note, that the comment text is sent to the browser and thus visible outside (source code).
<h1><%-- and --%></h1>
server-side comments (<%-- --%>) enable asp.net page developers to prevent server code (including server controls) and static content from executing/rendering. they assume a similar role to the standard html comments with the smashing difference that the text of the comment is not sent to the browser.  

,歡迎訪問網頁設計愛好者web開發。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 自治县| 涞水县| 梓潼县| 稷山县| 龙江县| 共和县| 兰溪市| 德化县| 思茅市| 柳江县| 宁陕县| 通州市| 休宁县| 揭西县| 德庆县| 商河县| 甘南县| 赞皇县| 来宾市| 项城市| 扬中市| 邯郸市| 岚皋县| 新野县| 慈溪市| 泽库县| 嘉峪关市| 潮安县| 清丰县| 漯河市| 吉林省| 衡山县| 秦安县| 合肥市| 大田县| 东平县| 临沭县| 天门市| 安庆市| 酉阳| 文安县|