国产探花免费观看_亚洲丰满少妇自慰呻吟_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開發。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 项城市| 盐山县| 枣阳市| 宁南县| 沛县| 阳春市| 桦川县| 东兰县| 广宗县| 文安县| 读书| 平昌县| 英德市| 武乡县| 定结县| 宜宾市| 宁海县| 斗六市| 邓州市| 延津县| 甘谷县| 壶关县| 大安市| 荥阳市| 德昌县| 怀化市| 安宁市| 临沂市| 金阳县| 江津市| 冕宁县| 班戈县| 壶关县| 乐昌市| 通榆县| 阳西县| 贺州市| 绍兴县| 临泉县| 宁德市| 惠安县|