目录
版权所有 Microsoft Corporation 1999-2012。保留所有权利。
xvii
A.2.2 <code> \t "See <code>" \b............................................................................................................. 443
A.2.3 <example> \t "See <example>" \b ................................................................................................. 444
A.2.4 <exception> \t "See <exception>" \b ............................................................................................. 444
A.2.5 <include>...................................................................................................................................... 445
A.2.6 <list> \t "See <list>" \b .................................................................................................................. 446
A.2.7 <para> \t "See <para>" \b .............................................................................................................. 446
A.2.8 <param> \t "See <param>" \b ........................................................................................................ 447
A.2.9 <paramref> \t "See <paramref>" \b ............................................................................................... 447
A.2.10 <permission> \t "See <permission>" \b ....................................................................................... 448
A.2.11 <remark> \t "See <remarks>" \b .................................................................................................. 448
A.2.12 <returns> \t "See <returns>" \b .................................................................................................... 448
A.2.13 <see> \t "See <see>" \b ............................................................................................................... 449
A.2.14 <seealso> \t "See <seealso>" \b ................................................................................................... 449
A.2.15 <summary> \t "See <summary>" \b ............................................................................................. 450
A.2.16 <value> \t "See <value>" \b ........................................................................................................ 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