CSharp 4.0 in a Nutshell: The Definitive Reference, Fourth Edition
Chapter 1. Introducing C# and the .NET Framewrok
面向对象
类型安全
内存管理
平台支持
C#与CLR的关系
CLR与.NET框架
C# 4.0中的新特性
Chapter 2. C# Language Basics
第一个C#程序
语法
类型基础
数值类型
布尔类型与操作符
字符串与字符
数组
变量与参数
表达式与操作符
语句
名字空间
Chapter 3. Creating Types in C#
类
继承
object类型
结构
访问修饰符
接口
枚举
嵌套类型
泛型
Contravariance
C#泛型与C++模板
Chapter 4. Advanced C#
委托
事件
Lambda表达式
匿名方法
try语句与异常
枚举与迭代器
可空类型
操作符重载
扩展方法
匿名类型
动态绑定
属性(Attributes)
不安全代码与指针
预处理器指令
XML文档
Chapter 5. Framework Overview
Chapter 6. Framework Fundamentals
字符串与文本处理
日期与时间
日期与时区
Chapter 7. Collections
枚举
ICollection与IList接口
Array类
列表,队列,栈与集合
字典
自定义集合与代理
Chapter 8. LINQ Queries
开始
Fluent语法
查询表达式
延迟执行
子查询
组合策略
构建策略
Chapter 9. LINQ Operators
Chapter 10. LINQ to XML
Chapter 11. Other XML Technologies
XmlReader
XmlWriter
Chapter 12. Disposal and Garbage Collection
Chapter 13. Diagnostics and Code Contracts
Chapter 14. Streams and I/O
流体系结构
使用流
流适配器
文件与目录操作
内存映射文件(Memory-Mapped Files)
压缩
隔离存储
Chapter 15. Networking
网络体系结构
地址与端口
URIs
Chapter 16. Serialization
序列化概念
数据约定序列化器
二进制序列化器
二进制序列化属性
使用ISerializable的二进制序列化
XML序列化
Chapter 17. Assembiles
Chapter 18. Reflection and Metadata
反射与激活类型
反射与调用成员
反射程序集
使用属性
动态代码生成
Chapter 19. Dynamic Programming
动态语言运行时
数值类型统一
动态成员重载解析
Chapter 20. Security
Chapter 21. Threading
线程的使用与烂用
开始
线程池
同步
锁
线程安全
非阻塞同步
读/写锁
计时器
Chapter 22. Parallel Programming
Chapter 23. Asynchronous Methods
为什么存在异步方法?
异步方法签名
异步方法与异步委托
使用异步方法
异步方法与任务
编写异步方法
伪造异步方法
异步方法的替代者
Chapter 24. Application Domains
Chapter 25. Native and COM Interoperability
Calling into Native DLLs
Type Marshaling
Marshaling Common Types
Callback from Unmanaged Code
Simulating a C Union
Shared Memory
Mapping a Struct to Unmanaged Memory
COM Interoperability
Chapter 26. Regular Expressions
正则表达式基础
CSharp 4.0 in a Nutshell: The Definitive Reference, Fourth Edition
Docs
»
Chapter 12. Disposal and Garbage Collection
Edit on GitHub
Chapter 12. Disposal and Garbage Collection
¶