日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程语言 > C# >内容正文

C#

《CLR via C#》 第三版的主要内容

發(fā)布時(shí)間:2023/12/10 C# 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 《CLR via C#》 第三版的主要内容 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

Jeffrey Richter 在他的博客中敘述了 CLR via C#第三版的主要內(nèi)容,和改動(dòng)。原本如下:(必要的地方加了翻譯)

Last week I submitted the reaming chapters for my new book. It is now being edited and should be available right around the time that Visual Studio 2010 launches (March 22, 2010). (注:上周他提交了他的書(可能是給出版社),估計(jì)會(huì)在VS2010發(fā)布的時(shí)候,一同上市)

One place you can order it is here: http://www.amazon.com/CLR-via-C-Third-Pro-Developer/dp/0735627045?(注:Amazon已經(jīng)可以預(yù)訂了)

I know that many people will ask me what are the differences between the 2nd edition and the 3rd edition and so I thought I'd create this blog post to address this.

Overall, every chapter has been modified making the text clearer, fixing any known mistakes and I’ve added more 64-bit coverage as this hardware is becoming more commonplace. I' ve also embellished a lot of text to reflect new things that I've learned in the last 5 years since the previos edition of the book was published. In addtion, since the 2nd Edition of the book covered version 2.0 of the .NET Framework and C#, the new book adds coverage of versions 3.0, 3.5 and 4.0.

(注:修改了部分章節(jié)的語言描述,敘述地更清楚一些。修改了關(guān)于 64位系統(tǒng)的一些錯(cuò)誤。用了很多筆墨來介紹他最近5年的學(xué)習(xí)心得,書中也涵蓋了.net 3.0,3.5,4.0的內(nèi)容。)

Also, I always thought I’d write a Threading Book showing how to properly architect software to build responsive and scalable applications and components in today’s world of multi-core computers. However, I decided to just include this other book’s content in the 3rd Edition of CLR via C# and so Part 5 of the book has five pretty lengthy chapters related to Threading. These chapters (like all chapters in the book) are very prescriptive. That is, I don’t just explain what is in the .NET Framework and how to use it. I explain when to use it and why as well as pitfalls associated with various constructs. I have written a lot of threading material over the past 20+ years and this is all new material presented in an all new way that I think will resonate well with software developers. The 2nd edition of CLR via C# had two chapters related to threading; the five new chapters contain a small part of that material but the new chapters are basically rewritten and add all of the new stuff that is being introduces with .NET 4.0.

(注:此版第五部分中有5個(gè)很長的章節(jié)講述線程。作者不僅解釋 .NET框架的線程部分和如何使用這個(gè),還講述了什么時(shí)候使用和一些使用中的陷阱。作者在過去20多年中寫了很多關(guān)于線程的文章,這次他將用這5章的篇幅做一個(gè)完整地,全新的闡述。新加的章節(jié)基本都是重新寫過的,所有新修改的東西也都跟.NET 4.0聯(lián)系起來了。)

Below is the Table of Contents for CLR via C#, 3rd Edition and a brief description of what has been added to each chapter since the 2nd Edition.

(下面是分章節(jié)的簡要介紹了,Jeff相當(dāng)厚道啊。我是很期待第三版。)

Part I – CLR Basics

Chapter 1-The CLR’s Execution Model

Added about discussion about C#’s /optimize and /debug switches and how they relate to each other.

Chapter 2-Building, Packaging, Deploying, and Administering Applications and Types

Improved discussion about Win32 manifest information and version resource information.

Chapter 3-Shared Assemblies and Strongly Named Assemblies

Added discussion of TypeForwardedToAttribute and TypeForwardedFromAttribute.

Part II – Designing Types

Chapter 4-Type Fundamentals

No new topics.

Chapter 5-Primitive, Reference, and Value Types

Enhanced discussion of checked and unchecked code and added discussion of new BigInteger type. Also added discussion of C# 4.0’s dynamic primitive type.

Chapter 6-Type and Member Basics

No new topics.

Chapter 7-Constants and Fields

No new topics.

Chapter 8-Methods

Added discussion of extension methods and partial methods.

Chapter 9-Parameters

Added discussion of optional/named parameters and implicitly-typed local variables.

Chapter 10-Properties

Added discussion of automatically-implemented properties, properties and the Visual Studio debugger, object and collection initializers, anonymous types, the System.Tuple type and the ExpandoObject type.

Chapter 11-Events

Added discussion of events and thread-safety as well as showing a cool extension method to simplify the raising of an event.

Chapter 12-Generics

Added discussion of delegate and interface generic type argument variance.

Chapter 13-Interfaces

No new topics.

Part III – Essential Types

Chapter 14-Chars, Strings, and Working with Text

No new topics.

Chapter 15-Enums

Added coverage of new Enum and Type methods to access enumerated type instances.

Chapter 16-Arrays

Added new section on initializing array elements.

Chapter 17-Delegates

Added discussion of using generic delegates to avoid defining new delegate types. Also added discussion of lambda expressions.

Chapter 18-Attributes

No new topics.

Chapter 19-Nullable Value Types

Added discussion on performance.

Part IV – CLR Facilities

Chapter 20-Exception Handling and State Management

This chapter has been completely rewritten. It is now about exception handling and state management. It includes discussions of code contracts and constrained execution regions (CERs). It also includes a new section on trade-offs between writing productive code and reliable code.

Chapter 21-Automatic Memory Management

Added discussion of C#’s fixed state and how it works to pin objects in the heap. Rewrote the code for weak delegates so you can use them with any class that exposes an event (the class doesn’t have to support weak delegates itself). Added discussion on the new ConditionalWeakTable class, GC Collection modes, Full GC notifications, garbage collection modes and latency modes. I also include a new sample showing how your application can receive notifications whenever Generation 0 or 2 collections occur.

Chapter 22-CLR Hosting and AppDomains

Added discussion of side-by-side support allowing multiple CLRs to be loaded in a single process. Added section on the performance of using MarshalByRefObject-derived types. Substantially rewrote the section on cross-AppDomain communication. Added section on AppDomain Monitoring and first chance exception notifications. Updated the section on the AppDomainManager class.

Chapter 23-Assembly Loading and Reflection

Added section on how to deploy a single file with dependent assemblies embedded inside it. Added section comparing reflection invoke vs bind/invoke vs bind/create delegate/invoke vs C#’s dynamic type.

Chapter 24-Runtime Serialization

This is a whole new chapter that was not in the 2nd Edition.

Part V – Threading

Chapter 25-Threading Basics

Whole new chapter motivating why Windows supports threads, thread overhead, CPU trends, NUMA Architectures, the relationship between CLR threads and Windows threads, the Thread class, reasons to use threads, thread scheduling and priorities, foreground thread vs background threads.

Chapter 26-Performing Compute-Bound Asynchronous Operations

Whole new chapter explaining the CLR’s thread pool. This chapter covers all the new .NET 4.0 constructs including cooperative cancelation, Tasks, the aralle class, parallel language integrated query, timers, how the thread pool manages its threads, cache lines and false sharing.

Chapter 27-Performing I/O-Bound Asynchronous Operations

Whole new chapter explaining how Windows performs synchronous and asynchronous I/O operations. Then, I go into the CLR’s Asynchronous Programming Model, my AsyncEnumerator class, the APM and exceptions, Applications and their threading models, implementing a service asynchronously, the APM and Compute-bound operations, APM considerations, I/O request priorities, converting the APM to a Task, the event-based Asynchronous Pattern, programming model soup.

Chapter 28-Primitive Thread Synchronization Constructs

Whole new chapter discusses class libraries and thread safety, primitive user-mode, kernel-mode constructs, and data alignment.

Chapter 29-Hybrid Thread Synchronization Constructs

Whole new chapter discussion various hybrid constructs such as ManualResetEventSlim, SemaphoreSlim, CountdownEvent, Barrier, ReaderWriterLock(Slim), OneManyResourceLock, Monitor, 3 ways to solve the double-check locking technique, .NET 4.0’s Lazy and LazyInitializer classes, the condition variable pattern, .NET 4.0’s concurrent collection classes, the ReaderWriterGate and SyncGate classes.

?

轉(zhuǎn)載于:https://www.cnblogs.com/thinkriver/archive/2009/11/04/1596188.html

總結(jié)

以上是生活随笔為你收集整理的《CLR via C#》 第三版的主要内容的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 久久久久国产 | 亚洲国产日韩在线观看 | 国产精品无码一区二区三区免费 | 谁有av网址| 亚洲三级影院 | 国产99自拍 | 国产孕妇孕交大片孕 | 国产av无码国产av毛片 | 日韩欧美精品一区二区 | 精品国产成人亚洲午夜福利 | 蜜臀久久精品久久久久 | 性色欲情网站iwww九文堂 | 一级黄色大片 | 男生操女生网站 | 99re在线视频精品 | 国产一区在线看 | 国产熟妇与子伦hd | 久久国产人妻一区二区免色戒电影 | 夜夜超碰| 全部免费毛片在线播放高潮 | 色婷婷麻豆| 国产免费一区二区 | 亚洲AV无码成人国产精品色 | 日韩精品视频一区二区 | 日韩欧美黄色网址 | 日本中文字幕在线观看 | 日韩一区二区三 | 欧美日韩xxx | 91精品色| 性久久久久久 | 亚洲精品在线视频免费观看 | 国产一级一片 | 国产乱码精品一区二区三区精东 | 亚洲精品777 | 日韩一区二区视频在线 | 国精品一区二区三区 | 成人午夜免费在线 | 日本中文有码 | 打开免费观看视频在线 | 一个人在线免费观看www | 自拍中文字幕 | 操久久| 老司机久久精品视频 | 狠操av| 亚洲最新中文字幕 | 中国新婚夫妻性猛交 | 嫩草午夜少妇在线影视 | 成人免费视频一区二区 | 精产国品一二三产区m553麻豆 | 亚洲AV无码精品一区二区三区 | 五月婷婷丁香激情 | 毛片av在线播放 | 国产在线色视频 | av一区二区三区在线 | 在线观看欧美一区二区三区 | 国产精品一区在线看 | 一区二区三区亚洲视频 | 成人av手机在线 | 一级中文字幕 | 国产精品视频自拍 | 新91av| 97爱爱视频| 99热网| 欧美69式性猛交 | 精品成人在线视频 | 亚洲色欧美| 欧美性天天影院 | 四虎精品在线观看 | 国产tv在线观看 | 天堂资源av| 天天干天天日夜夜操 | 性高潮网站| 放荡的美妇在线播放 | 亚洲天堂女人 | 成人区人妻精品一区二区网站 | 免费中文字幕在线观看 | 中文字幕成人在线视频 | 91福利网站 | 香蕉视频99 | 日韩精品中文字 | 高清av一区 | 天海翼中文字幕 | 华人av在线 | 欧美日韩a级片 | 怡红院一区二区三区 | 久热国产精品视频 | 亚洲最大黄色 | 欧美日韩中文字幕视频 | 亚洲一区你懂的 | 亚洲一区在线观看视频 | 国产精品天天看 | 黄色三级网站在线观看 | 黄色动漫软件 | 91久久国产综合久久 | 国产一区二区女内射 | 可以在线观看的黄色 | 久热精品视频在线 | 日韩大尺度在线观看 | 久久爱一区 |