果壳中的C#
果壳中的C#封面图

果壳中的C#

(美) 阿坝哈瑞, (美) 阿坝哈瑞, 著

出版社:中国水利水电出版社

年代:2013

定价:118.0

书籍简介:

本书主要讲述了C#5.0及.netCLR ,以及深入C#5.0的各种命令、语法、用法的深入讲解。本书是一本兼具权威性与全面性的C#学习资料,全书共分二十六章,涵盖了C#5.0的所有命令、函数、用法的详细解读,与之前的版本相比,还新增了并发、异步、动态开发、代码精练、安全、com交互等重要知识点。

书籍目录:

前言目标读者.................................................................................................................................1本书的结构...............................................................................................................................1使用本书所需的其他材料........................................................................................................2本书中使用的约定...................................................................................................................2使用示例代码...........................................................................................................................3联系我们.................................................................................................................................3Safari. Books Online...............................................................................................................4致谢.........................................................................................................................................4第1章 C#和.NET Framework简介 ..................................11.1 面向对象...........................................................................................................................11.2 类型安全性........................................................................................................................11.3 内存管理...........................................................................................................................21.4 平台支持...........................................................................................................................21.5 C#与CLR的关系................................................................................................................21.6 CLR和.NET Framework....................................................................................................31.7 C#与Windows Runtime.....................................................................................................41.8 C# 5.0新特性.....................................................................................................................51.9 C# 4.0新特性.....................................................................................................................51.10 C# 3.0新特性...................................................................................................................5第2章 C#语言基础............................................................72.1 第一个C#程序...................................................................................................................72.2 语法..................................................................................................................................92.3 类型基础.........................................................................................................................112.4 数值类型.........................................................................................................................192.5 布尔类型和运算符...........................................................................................................252.6 字符串和字符..................................................................................................................272.7 数组................................................................................................................................292.8 变量和参数......................................................................................................................322.9 表达式和运算符..............................................................................................................402.10 语句...............................................................................................................................432.11 命名空间........................................................................................................................51第3章 在C#中创建类.......................................................573.1 类....................................................................................................................................573.2 继承................................................................................................................................693.3 object类型.......................................................................................................................763.4 结构体.............................................................................................................................803.5 访问权限修饰符..............................................................................................................813.6 接口................................................................................................................................833.7 枚举类型.........................................................................................................................873.8 嵌套类型.........................................................................................................................913.9 泛化................................................................................................................................92第4章 C#高级特性........................................................1034.1 委托...............................................................................................................................1034.2 事件...............................................................................................................................1114.3 Lambda表达式...............................................................................................................1174.4 匿名方法.......................................................................................................................1204.5 try语句和异常...............................................................................................................1214.6 枚举类型和迭代............................................................................................................1284.7 可空类型.......................................................................................................................1324.8 运算符重载....................................................................................................................1374.9 扩展方法.......................................................................................................................1404.10 匿名类型......................................................................................................................1434.11 动态绑定......................................................................................................................1444.12 属性.............................................................................................................................1514.13 调用者信息属性(C# 5)............................................................................................1524.14 不安全代码和指针.......................................................................................................1544.15 预处理指令..................................................................................................................1574.16 XML文档.....................................................................................................................159第5章 框架概述............................................................1635.1 CLR和核心框架............................................................................................................1655.2 应用技术.......................................................................................................................168第6章 框架基础............................................................1746.1 字符串与文本处理.........................................................................................................1746.2 日期和时间....................................................................................................................1856.3 日期与时区....................................................................................................................1916.4 标准格式字符串与解析标记..........................................................................................2026.5 其他转换机制................................................................................................................2086.6 全球化...........................................................................................................................2116.7 操作数字.......................................................................................................................2126.8 枚举类型.......................................................................................................................2166.9 元组...............................................................................................................................2196.10 Guid结构体..................................................................................................................2206.11 等值比较......................................................................................................................2206.12 顺序比较......................................................................................................................2296.13 实用类.........................................................................................................................232第7章 集合...................................................................2357.1 枚举...............................................................................................................................2357.2 ICollection和IList接口..................................................................................................2427.3 Array类..........................................................................................................................2457.4 复制...............................................................................................................................2517.5 List、Queue、Stack和Set..............................................................................................2527.6 字典...............................................................................................................................2597.7 可定制的集合和委托.....................................................................................................2647.8 等值和顺序插入............................................................................................................270第8章 LINQ查询..........................................................2778.1 入门...............................................................................................................................2778.2 运算符流语法................................................................................................................2798.3 查询表达式....................................................................................................................2858.4 延迟执行.......................................................................................................................2898.5 子查询...........................................................................................................................2958.6 LINQ构造方式..............................................................................................................2988.7 映射策略.......................................................................................................................3018.8 解释型的查询................................................................................................................3038.9 LINQ to SQL 和 Entity Framework...............................................................................3098.10 查询表达式的创建.......................................................................................................323第9章 LINQ运算符........................................................3289.1 概述...............................................................................................................................3299.2 筛选...............................................................................................................................3329.3 映射...............................................................................................................................3369.4 连接...............................................................................................................................3479.5 Zip 运算符.....................................................................................................................3559.6 排序...............................................................................................................................3559.7 Grouping........................................................................................................................3589.8 集合运算符....................................................................................................................3619.9 转换方法.......................................................................................................................3639.10 元素运算符..................................................................................................................3659.11 聚合方法......................................................................................................................3679.12 数量词.........................................................................................................................3729.13 生成集合的方法..........................................................................................................373第10章 LINQ to XML....................................................37510.1 架构概述......................................................................................................................37510.2 X-DOM概述................................................................................................................37610.3 实例化X-DOM............................................................................................................37910.4 指定内容......................................................................................................................38010.5 导航和查询..................................................................................................................38110.6 更新X-DOM................................................................................................................38610.7 使用Value....................................................................................................................38910.8 文档和声明..................................................................................................................39110.9 名称和命名空间..........................................................................................................39410.10 注解...........................................................................................................................40010.11 将数据映射到X-DOM...............................................................................................400第11章 其他XML技术...................................................40711.1 XmlReader...................................................................................................................40711.2 XmlWriter....................................................................................................................41511.3 使用XmlReader/XmlWriter的模式..............................................................................41711.4 XmlDocument..............................................................................................................42111.5 XPath...........................................................................................................................42411.6 XSD和模式验证..........................................................................................................42811.7 XSLT...........................................................................................................................431第12章 销毁和垃圾回收................................................43212.1 IDisposable接口、Dispose方法和Close方法...............................................................43212.2 自动垃圾回收..............................................................................................................43612.3 终止器.........................................................................................................................43812.4 垃圾回收器如何工作...................................................................................................44212.5 托管内存泄露..............................................................................................................44512.6 弱引用.........................................................................................................................448第13章 诊断和代码契约................................................45213.1 条件编译......................................................................................................................45213.2 Debug和Trace类..........................................................................................................45513.3 代码契约概述..............................................................................................................45813.4 先决条件......................................................................................................................46113.5 后置条件......................................................................................................................46513.6 断言和对象不变式.......................................................................................................46713.7 接口和抽象方法中的契约...........................................................................................46813.8 处理契约错误..............................................................................................................46913.9 选择性执行契约..........................................................................................................47113.10 静态契约检查............................................................................................................47213.11 调整器集成................................................................................................................47313.12 进程和处理线程........................................................................................................47413.13 StackTrace和StackFrame类........................................................................................47513.14 Windows事件日志.....................................................................................................47613.15 性能计数器................................................................................................................47813.16 Stopwatch类...............................................................................................................483第14章 并发与异步.......................................................48414.1 简介.............................................................................................................................48414.2 线程处理......................................................................................................................48514.3 任务.............................................................................................................................49814.4 异步原则......................................................................................................................50614.5 C# 5.0的异步函数........................................................................................................51014.6 异步模式......................................................................................................................52314.7 旧模式.........................................................................................................................530第15章 流与I/O............................................................53315.1 流体系结构..................................................................................................................53315.2 使用流.........................................................................................................................53415.3 流适配器......................................................................................................................54615.4 压缩流.........................................................................................................................55315.5 操作Zip文件................................................................................................................55515.6 文件与目录操作..........................................................................................................55515.7 Windows Runtime中的文件输入/输出.........................................................................56515.8 内存映射文件..............................................................................................................56715.9 隔离存储区..................................................................................................................569第16章 网络.................................................................57516.1 网络体系结构..............................................................................................................57516.2 地址与端口..................................................................................................................57716.3 URI..............................................................................................................................57816.4 客户端类......................................................................................................................57916.5 HTTP访问....................................................................................................................59116.6 编写HTTP服务器........................................................................................................59616.7 使用FTP......................................................................................................................59916.8 使用DNS.....................................................................................................................60016.9 通过SmtpClient发送邮件.............................................................................................60116.10 使用TCP....................................................................................................................60216.11 使用TCP接收POP3邮件............................................................................................60516.12 在WindowsRuntime中建立TCP连接.........................................................................606第17章 序列化..............................................................60817.1 序列化概念..................................................................................................................60817.2 数据契约的序列化.......................................................................................................61117.3 数据契约与集合..........................................................................................................62017.4 扩展数据契约..........................................................................................................62217.5 二进制序列化器......................................................................................................62517.6 二进制序列化属性...................................................................................................62717.7 使用ISerializable进行二进制序列化........................................................................62917.8 XML序列化.............................................................................................................632第18章 程序集..............................................................64118.1 程序集包含的内容...................................................................................................64118.2 强名称和程序集签名...............................................................................................64518.3 程序集名称..............................................................................................................64718.4 Authenticode签名....................................................................................................64918.5 全局程序集高速缓存...............................................................................................65218.6 资源和卫星程序集...................................................................................................65418.7 解析和加载程序集...................................................................................................66118.8 在基础文件夹外部署程序集....................................................................................66518.9 打包单个可执行文件...............................................................................................66718.10 处理未引用的程序集.............................................................................................668第19章 反射和元数据....................................................67019.1 反射和激活类型......................................................................................................67019.2 反射和调用成员......................................................................................................67719.3 反射程序集..............................................................................................................68819.4 使用属性..................................................................................................................68919.5 动态生成代码..........................................................................................................69419.6 发出程序集和类型...................................................................................................70019.7 发出类型成员..........................................................................................................70319.8 发出泛型方法和类型...............................................................................................70819.9 复杂的发出目标......................................................................................................71019.10 解析IL...................................................................................................................71319.11 编写反编译器........................................................................................................713第20章 动态编程..........................................................71820.1 动态语言运行时......................................................................................................71820.2 数字类型统一..........................................................................................................71920.3 动态成员重载解决方案...........................................................................................72020.4 实现动态对象..........................................................................................................72620.5 通过动态语言交互操作...........................................................................................729第21章 安全.................................................................73121.1 权限.........................................................................................................................73121.2 代码访问安全(CAS)...........................................................................................73421.3 允许部分可信的调用程序.......................................................................................73721.4 CLR 4.0中的透明模型.............................................................................................73921.5 沙箱化程序集..........................................................................................................74621.6 操作系统安全..........................................................................................................74921.7 身份和角色安全......................................................................................................75121.8 加密综述..................................................................................................................75221.9 Windows数据保护...................................................................................................75321.10 散列法...................................................................................................................75421.11 对称加密................................................................................................................75521.12 公共密钥加密和签名.............................................................................................759第22章 高级线程..........................................................76322.1 同步概述..................................................................................................................76322.2 排他锁.....................................................................................................................76422.3 锁与线程安全性......................................................................................................77122.4 非排他锁..................................................................................................................77522.5 使用事件等待处理器发送信号................................................................................78022.6 Barrier类..................................................................................................................78722.7 延后初始化..............................................................................................................78822.8 线程本地存储..........................................................................................................79022.9 Interrupt和Abort......................................................................................................79222.10 Suspend和Resume..................................................................................................79322.11 定时器...................................................................................................................793第23章 并行编程..........................................................79723.1PFX..........................................................................................................................79723.2 PLINQ.....................................................................................................................79923.3 Parallel类.................................................................................................................81023.4 任务并行.......

内容摘要:

知名IT出版机构O,Reilly公司独家授权品质保证,首本C#5.0学习指南行业领先。《果壳中的C#——C#5.0权威指南》通过26章的内容,系统、全面、细致地讲解了C#5.0从基础知识到各种高级特性的命令、语法和用法。在进行细致深入讲解的同时,为每一个知识点都专门设计了贴切、简单、易懂的学习案例,从而可以帮助读者准确地理解知识点的含义并快速地学以致用,与之前的C#4.0版本相比,C#5.0权威指南还新增了丰富的并发、异步、动态编程、代码精练、安全、COM交互等高级特性相关的内容。——《果壳中的C#——C#5.0权威指南》将引领您达到C#新高度。 本书是一本C#5.0的权威技术指南,也是第一本中文版C# 5.0的学习资料。本书通过26章的内容,系统、全面、细致地讲解了C#5.0从基础知识到各种高级特性的命令、语法和用法。本书的讲解深入浅出,同时为每一个知识点都专门设计了贴切、简单、易懂的学习案例,从而可以帮助读者准确地理解知识点的含义并快速地学以致用。本书与之前的C#4.0版本相比,还新增了丰富的并发、异步、动态编程、代码精练、安全、COM交互等高级特性相关的内容。本书还融汇了作者多年在软件开发及C#方面的研究及其实践经验,非常适合作为C#技术的一本通自学教程,亦是一本中高级C#技术人员不可多得的必备工具书。

书籍规格:

书籍详细信息
书名果壳中的C#站内查询相似图书
9787517010845
如需购买下载《果壳中的C#》pdf扫描版电子书或查询更多相关信息,请直接复制isbn,搜索即可全网搜索该ISBN
出版地北京出版单位中国水利水电出版社
版次1版印次1
定价(元)118.0语种简体中文
尺寸24 × 19装帧平装
页数印数 2000

书籍信息归属:

果壳中的C#是中国水利水电出版社于2013.8出版的中图分类号为 TP312 的主题关于 C语言-程序设计 的书籍。