目录
版权所有
Microsoft Corporation 1999-2012
。保留所有权利。
xvii
A.2.2 <code>......................................................................................................................................................... 441
A.2.3 <example>...................................................................................................................................................442
A.2.4 <exception>.................................................................................................................................................442
A.2.5 <include>.....................................................................................................................................................443
A.2.6 <list>............................................................................................................................................................444
A.2.7 <para>..........................................................................................................................................................444
A.2.8 <param>.......................................................................................................................................................445
A.2.9 <paramref>..................................................................................................................................................445
A.2.10 <permission>............................................................................................................................................ 446
A.2.11 <remark>...................................................................................................................................................446
A.2.12 <returns>................................................................................................................................................... 446
A.2.13 <see>..........................................................................................................................................................447
A.2.14 <seealso>...................................................................................................................................................447
A.2.15 <summary>............................................................................................................................................... 448
A.2.16 <value>......................................................................................................................................................448
A.2.17 <typeparam>............................................................................................................................................. 448
A.2.18 <typeparamref>........................................................................................................................................ 449
A.3 处理文档文件....................................................................................................................................................449
A.3.1 ID 字符串格式........................................................................................................................................... 449
A.3.2 ID 字符串示例........................................................................................................................................... 450
A.4 示例.....................................................................................................................................................................454
A.4.1 C#
源代码
................................................................................................................................................... 454
A.4.2 生成的 XML...............................................................................................................................................456
B.
语法
...........................................................................................................................................................................460
B.1 词法文法............................................................................................................................................................ 460
B.1.1 行结束符..................................................................................................................................................... 460
B.1.2 注释..............................................................................................................................................................460
B.1.3 空白..............................................................................................................................................................461
B.1.4 标记..............................................................................................................................................................461
B.1.5 Unicode
字符转义序列
............................................................................................................................. 461
B.1.6 标识符......................................................................................................................................................... 461
B.1.7
关键字
......................................................................................................................................................... 463
B.1.8 文本..............................................................................................................................................................463
B.1.9 运算符和标点符号.................................................................................................................................... 465
B.1.10 预处理指令...............................................................................................................................................465
B.2 句法文法............................................................................................................................................................ 468
B.2.1 基本概念..................................................................................................................................................... 468
B.2.2 类型..............................................................................................................................................................468
B.2.3
变量
..............................................................................................................................................................469
B.2.4 表达式......................................................................................................................................................... 469
B.2.5 语句..............................................................................................................................................................476
B.2.6 命名空间..................................................................................................................................................... 480
B.2.7 类..................................................................................................................................................................480
B.2.8 结构..............................................................................................................................................................488
B.2.9 数组..............................................................................................................................................................488
B.2.10 接口............................................................................................................................................................489