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