开发工具:
文件大小: 800kb
下载次数: 0
上传时间: 2008-06-24
详细说明: C#语言参考
目录
1. 介绍....................................................................................................................................................... 1
1.1 Hello, world ........................................................................................................................................1
1.2类型...................................................................................................................................................2
1.2.1 预定义类型..................................................................................................................................3
1.2.2 转换.............................................................................................................................................5
1.2.3 数组类型......................................................................................................................................6
1.2.4类型系统一致..............................................................................................................................7
1.3变量和参数 ........................................................................................................................................8
1.4 自动内存管理...................................................................................................................................11
1.5表达式.............................................................................................................................................. 13
1.6声明................................................................................................................................................. 15
1.7类..................................................................................................................................................... 18
1.7.1 常数...........................................................................................................................................20
1.7.2 域...............................................................................................................................................20
1.7.3 方法...........................................................................................................................................21
1.7.4 属性...........................................................................................................................................22
1.7.5 事件...........................................................................................................................................23
1.7.6操作符.......................................................................................................................................24
1.7.7 索引...........................................................................................................................................25
1.7.8 实例构造函数............................................................................................................................26
1.7.9 析构函数....................................................................................................................................27
1.7.10静态构造函数...........................................................................................................................27
1.7.11 继承.........................................................................................................................................28
1.8结构.................................................................................................................................................29
1.9接口.................................................................................................................................................30
1.10 代表...............................................................................................................................................31
1.11 联合...............................................................................................................................................32
1.12 名称空间和集合.............................................................................................................................32
1.13 版本...............................................................................................................................................34
1.14 特征...............................................................................................................................................36
2. 语法结构.............................................................................................................................................. 39
2.1 翻译的阶段 ......................................................................................................................................39
2.2 文法符号..........................................................................................................................................39
2.3 预处理..............................................................................................................................................40
2.3.1 预处理声明................................................................................................................................40
2.3.2 #if, #elif, #else, #endif .................................................................................................................41
2.3.3 预处理控制行............................................................................................................................42
2.3.4 #line ...........................................................................................................................................43
2.3.5 预处理标识符............................................................................................................................43
2.3.6 预处理表达式............................................................................................................................43
2.3.7 与空白交互作用.........................................................................................................................44
2.4 语法分析................
(省略。。。)
17.3 属性实例......................................................................................................................................255
17.3.1一个属性的编译.....................................................................................................................255
17.3.2一个属性实例的运行时检索...................................................................................................256
17.4 保留的属性..................................................................................................................................256
17.4.1 AttributeUsage属性......................................................................................................256
17.4.2条件属性................................................................................................................................257
17.4.3废弃的属性............................................................................................................................259
18. 危险代码.......................................................................................................................................... 261
18.1 危险代码......................................................................................................................................261
18.2 指针类型......................................................................................................................................261
19. 互用性.............................................................................................................................................. 263
19.1 COMImport属性........................................................................................................................263
19.2 COMRegisterFunction属性....................................................................................................263
19.3 COMSourceInterfaces属性....................................................................................................264
19.4 COMVisible 属性......................................................................................................................264
19.5 DispId 属性..............................................................................................................................264
19.6 DllImport属性........................................................................................................................264
19.7 FieldOffset属性....................................................................................................................265
19.8 GlobalObject属性..................................................................................................................265
19.9 Guid属性..................................................................................................................................266
19.10 HasDefaultInterface属性..................................................................................................266
19.11 ImportedFromTypeLib属性..................................................................................................266
19.12 In和Out属性........................................................................................................................266
19.13 InterfaceType 属性..............................................................................................................267
19.14 MarshalAs 属性......................................................................................................................267
19.15 NoIDispatch属性..................................................................................................................268
19.16 NonSerialized 属性..............................................................................................................268
19.17 Predeclared属性..................................................................................................................268
19.18 PreserveSig属性..................................................................................................................268
19.19 Serializable属性................................................................................................................269
19.20 StructLayout属性................................................................................................................269
19.21 TypeLibFunc属性..................................................................................................................269
19.22 TypeLibType属性..................................................................................................................269
19.23 TypeLibVar属性....................................................................................................................270
19.24 支持的枚举............ ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.