开发工具:
文件大小: 3mb
下载次数: 0
上传时间: 2010-04-27
详细说明: Table of Contents C# LANGUAGE REFERENCE 2.4.1 输入......................................................................................................................................................45 2.4.2 输入字符..............................................................................................................................................45 2.4.3 行结束符..............................................................................................................................................45 2.4.4 注释......... .............................................................................................................................................45 2.4.5 空白......................................................................................................................................................46 2.4.6 标记......................................................................................................................................................47 2.5 句法分析.....................................................................................................................................................47 2.5.1 标识符..................................................................................................................................................47 2.5.2 关键字..................................................................................................................................................48 2.5.3 数据符号..............................................................................................................................................48 2.5.4 操作符和标点......................................................................................................................................53 2.5.5 Unicode 字符转意字符序列................................................................................................................53 3. 基本概念...........................................................................................................................................................55 3.1 声明.............................................................................................................................................................55 3.2 成员.............................................................................................................................................................57 3.2.1 名称空间成员......................................................................................................................................57 3.2.2 结构成员..............................................................................................................................................57 3.2.3 枚举成员..............................................................................................................................................57 3.2.4 类 Table of Contents 4.2.2 对象类型..............................................................................................................................................75 4.2.3 字符串类型..........................................................................................................................................75 4.2.4 接口类型..............................................................................................................................................76 4.2.5 数组类型..............................................................................................................................................76 4.2.6 代表类型..............................................................................................................................................76 4.3 包装和解包.................................................................................................................................................76 4.3.1 包装转换..............................................................................................................................................76 4.3.2 解包转换..............................................................................................................................................77 5. 变量...................................................................................................................................................................79 5.1 变量类型.....................................................................................................................................................79 5.1.1 静态变量..............................................................................................................................................79 5.1.2 实例变量..............................................................................................................................................79 5.1.3 数组元素..............................................................................................................................................80 5.1.4 数值参数..............................................................................................................................................80 5.1.5 引用参数..............................................................................................................................................80 5.1.6 输出参数..............................................................................................................................................80 5.1.7 局部变量..............................................................................................................................................81 5.2 默认值.........................................................................................................................................................81 5.3 明确赋值.....................................................................................................................................................81 5.3.1 初始赋值变量......................................................................................................................................83 5.3.2 非初始赋值变量..................................................................................................................................84 5.4 变量引用.....................................................................................................................................................84 6. 转换...................................................................................................................................................................85 6.1 隐式转换.....................................................................................................................................................85 6.1.1 同一性转换..........................................................................................................................................85 6.1.2 隐式数值转换......................................................................................................................................85 6.1.3 隐式枚举转换......................................................................................................................................86 6.1.4 隐式引用转换......................................................................................................................................86 6.1.5 转换......................................................................................................................................................86 6.1.6 隐式常数表达式转换..........................................................................................................................86 6.1.7 用户自定义隐式转换..........................................................................................................................87 6.2 显式转换.....................................................................................................................................................87 6.2.1 显式数值转换......................................................................................................................................87 6.2.2 显式枚举类型转换..............................................................................................................................88 6.2.3 显式引用类型转换..............................................................................................................................88 6.2.4 解包转换..............................................................................................................................................89 6.2.5 用户自定义显式转换..........................................................................................................................89 6.3 标准转换.....................................................................................................................................................89 6.3.1 标准隐式转换......................................................................................................................................89 6.3.2 标准显式转换......................................................................................................................................90 6.4 用户定义转换.............................................................................................................................................90 6.4.1 允许的用户自定义转换.......................................................................................................................90 6.4.2 用 C# LANGUAGE REFERENCE 6.4.4 用户自定义显式类型转换...................................................................................................................91 7. 表达式...............................................................................................................................................................93 7.1 表达式分类.................................................................................................................................................93 7.1.1 表达式的数值......................................................................................................................................94 7.2 操作符.........................................................................................................................................................94 7.2.1 操作符优先级和结合顺序...................................................................................................................94 7.2.2 操作符重载..........................................................................................................................................96 7.2.3 一元操作符重载分析..........................................................................................................................97 7.2.4 二元操作符重载分析..........................................................................................................................97 7.2.5 候选用户定义操作符..........................................................................................................................98 7.2.6 数字升级..............................................................................................................................................98 7.3 成员查询.....................................................................................................................................................99 7.3.1 基类型................................................................................................................................................100 7.4 函数成员...................................................................................................................................................100 7.4.1 参数列表............................................................................................................................................102 7.4.2 重载分析............................................................................................................................................103 7.4.3 功能成员调用....................................................................................................................................105 7.4.4 虚拟函数成员查找............................................................................................................................106 Table of Contents 7.7.2 除法运算符........................................................................................................................................126 7.7.3 余数运算符........................................................................................................................................127 7.7.4 加法运算符........................................................................................................................................127 7.7.5 减法运算符........................................................................................................................................129 7.8 移位运算符...............................................................................................................................................130 7.9 关系运算符...............................................................................................................................................131 7.9.1 整数比较运算符................................................................................................................................132 7.9.2 浮点比较运算符................................................................................................................................132 7.9.3 小数比较运算符................................................................................................................................133 7.9.4 布尔相等运算符................................................................................................................................133 7.9.5 枚举比较运算符................................................................................................................................133 7.9.6 引用类型相等运算符........................................................................................................................133 7.9.7 字符串相等运算符............................................................................................................................135 C# LANGUAGE REFERENCE 8.8.1 while语句...........................................................................................................................................155 8.8.2 do语句................................................................................................................................................155 8.8.3 for语句...............................................................................................................................................155 8.8.4 foreach语句........................................................................................................................................157 8.9 跳转语句...................................................................................................................................................158 8.9.1 break语句...........................................................................................................................................158 8.9.2 continue语句......................................................................................................................................159 Table of Contents 10.5.5 抽象方法..........................................................................................................................................193 10.5.6 外部方法..........................................................................................................................................194 10.5.7 方法主体..........................................................................................................................................195 10.5.8 方法重载..........................................................................................................................................195 10.6 属性.........................................................................................................................................................195 10.6.1 静态属性..........................................................................................................................................196 10.6.2 虚拟属性..........................................................................................................................................196 10.6.3 覆盖属性..........................................................................................................................................197 10.6.4 抽象属性..........................................................................................................................................198 10.6.5 访问符..............................................................................................................................................198 10.7 事件.........................................................................................................................................................203 10.8 索引.........................................................................................................................................................206 10.8.1 索引重载..........................................................................................................................................209 10.8.2 虚拟索引..........................................................................................................................................209 10.8.3 覆盖索引..........................................................................................................................................209 10.8.4 抽象索引..........................................................................................................................................210 10.9 操作符.....................................................................................................................................................210 10.9.1 一元操作符......................................................................................................................................211 10.9.2 二元操作符......................................................................................................................................211 10.9.3 转换操作符......................................................................................................................................212 10.10 实例构造函数.......................................................................................................................................213 10.10.1 构造函数初始化函数.....................................................................................................................214 10.10.2 实例变量初始化函数.....................................................................................................................214 10. C# LANGUAGE REFERENCE 12.4 数组成员.................................................................................................................................................226 12.5 数组协方差.............................................................................................................................................226 12.6 数组初始化函数.....................................................................................................................................227 13. 接口...............................................................................................................................................................229 13.1 接口声明.................................................................................................................................................229 13.1.1 接口修饰符......................................................................................................................................229 13.1.2 基本接口..........................................................................................................................................229 13. Table of Contents 17.3 属性实例.................................................................................................................................................255 17.3.1 一个属性的编译........................... ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.