《C# 4.0 核心技术 及 快速参考》(C# 4.0 in a Nutshell)(Joseph Albahari & Ben Albahari)文字版 4 edition[PDF]
![]()
http://oreilly.com/catalog/9780596800963
http://www.albahari.com/nutshell/
http://www.oreilly.com.cn/codeexample/csharpessentials/
顺便求WinForm, ADO.NET, 和WPF的参考
本书以Microsoft Visual Studio 2008为基础,简洁而全面地介绍了C# 4.0编程。本书有针对性地介绍了C#编程语言的语法和使用方法等基本要素,同时还介绍了部分.NET基础类库(这些基础类库用来生成有用的应用程序)。但跟以前版本不一样的是,本书完全由概念和用例构成,扩展了深度,提高了可读性。
C# 4.0包含了C#编程语言中最关键的改进部分,而本书是在假设你对C#相关知识了解最少的前提下,对其进行深入挖掘——使得任何有一定编程能力的人员都能轻松地理解本书内容。另外,针对编程语言,本书覆盖了.NETACLR和核心Framework程序集,以及LINQ(LanguageAIntegrated Query)的统一查询语法(LINQ很好地衔接了程序和数据源)。
本书避免杂乱和冗长,对C# 4.0的相关知识进行了简洁而统一的介绍:
* 开始的章节对C#进行集中介绍,从基本的语法、类型和变量开始,逐步深入,最后介绍了不安全代码以及预处理器指令等主题。
* 后面的章节涉及了核心的.NET 4.0 Framework,包括了LINQ、XML、 集合、I/O 、网络、内存管理、反射、属性、安全性、线程、应用程序域以及本地交互性等主题。
作为日常使用的工具手册,本书是那些主要针对WPF、ASP.NET或者WCF等应用技术的书的理想伴侣。那些书忽略了语言以及.NET Framework部分,但是本书却对这些内容进行了详细的介绍。
Joseph Albahari是Egton Software Services的核心C# 设计架构师。他在.NET以及其他平台上开发大规模的企业应用程序已经有超过15年的经验。
Ben Albahari曾任微软的项目经理。他参与开发了几个.NET项目,包括.NET Compact Framework
和ADO.NET。
When you have questions about how to use C# 4.0 or the .NET CLR, this highly acclaimed bestseller has precisely the answers you need. Uniquely organized around concepts and use cases, this fourth edition includes in-depth coverage of new C# topics such as parallel programming, code contracts, dynamic programming, security, and COM interoperability. You'll also find updated information on LINQ, including examples that work with both LINQ to SQL and Entity Framework. This book has all the essential details to keep you on track with C# 4.0.
* Get up to speed on C# language basics, including syntax, types, and variables
* Explore advanced topics such as unsafe code and preprocessor directives
* Learn C# 4.0 features such as dynamic binding, type parameter variance, and optional and named parameters
* Work with .NET 4's rich set of features for parallel programming, code contracts, and the code security model
* Learn .NET topics, including XML, collections, I/O and networking, memory management, reflection, attributes, security, and native interoperability
目录:
........Table of Contents
Chapter 1 Introducing C# and the .NET Framework
........Object Orientation
........Type Safety
........Memory Management
........Platform Support
........C#’s Relationship with the CLR
........The CLR and .NET Framework
........What’s New in C# 4.0
Chapter 2 C# Language Basics
........A First C# Program
........Syntax
........Type Basics
........Numeric Types
........Boolean Type and Operators
........Strings and Characters
........Arrays
........Variables and Parameters
........Expressions and Operators
........Statements
........Namespaces
Chapter 3 Creating Types in C#
........Classes
........Inheritance
........The object Type
........Structs
........Access Modifiers
........Interfaces
........Enums
........Nested Types
........Generics
Chapter 4 Advanced C#
........Delegates
........Events
........Lambda Expressions
........Anonymous Methods
........try Statements and Exceptions
........Enumeration and Iterators
........Nullable Types
........Operator Overloading
........Extension Methods
........Anonymous Types
........Dynamic Binding
........Attributes
........Unsafe Code and Pointers
........Preprocessor Directives
........XML Documentation
Chapter 5 Framework Overview
........The CLR and Core Framework
........Applied Technologies
Chapter 6 Framework Fundamentals
........String and Text Handling
........Dates and Times
........Dates and Time Zones
........Formatting and Parsing
........Standard Format Strings and Parsing Flags
........Other Conversion Mechanisms
........Globalization
........Working with Numbers
........Enums
........Tuples
........The Guid Struct
........Equality Comparison
........Order Comparison
........Utility Classes
Chapter 7 Collections
........Enumeration
........The ICollection and IList Interfaces
........The Array Class
........Lists, Queues, Stacks, and Sets
........Dictionaries
........Customizable Collections and Proxies
........Plugging in Equality and Order
Chapter 8 LINQ Queries
........Getting Started
........Fluent Syntax
........Query Expressions
........Deferred Execution
........Subqueries
........Composition Strategies
........Projection Strategies
........Interpreted Queries
........LINQ to SQL and Entity Framework
........Building Query Expressions
Chapter 9 LINQ Operators
........Overview
........Filtering
........Projecting
........Joining
........Ordering
........Grouping
........Set Operators
........The Zip Operator
........Conversion Methods
........Element Operators
........Aggregation Methods
........Quantifiers
........Generation Methods
Chapter 10 LINQ to XML
........Architectural Overview
........X-DOM Overview
........Instantiating an X-DOM
........Navigating and Querying
........Updating an X-DOM
........Working with Values
........Documents and Declarations
........Names and Namespaces
........Annotations
........Projecting into an X-DOM
Chapter 11 Other XML Technologies
........XmlReader
........XmlWriter
........Patterns for Using XmlReader/XmlWriter
........XmlDocument
........XPath
........XSD and Schema Validation
........XSLT
Chapter 12 Disposal and Garbage Collection
........IDisposable, Dispose, and Close
........Automatic Garbage Collection
........Finalizers
........How the Garbage Collector Works
........Managed Memory Leaks
........Weak References
Chapter 13 Diagnostics and Code Contracts
........Conditional Compilation
........Debug and Trace Classes
........Code Contracts Overview
........Preconditions
........Postconditions
........Assertions and Object Invariants
........Contracts on Interfaces and Abstract Methods
........Dealing with Contract Failure
........Selectively Enforcing Contracts
........Static Contract Checking
........Debugger Integration
........Processes and Process Threads
........StackTrace and StackFrame
........Windows Event Logs
........Performance Counters
........The Stopwatch Class
Chapter 14 Streams and I/O
........Stream Architecture
........Using Streams
........Stream Adapters
........File and Directory Operations
........Memory-Mapped Files
........Compression
........Isolated Storage
Chapter 15 Networking
........Network Architecture
........Addresses and Ports
........URIs
........Request/Response Architecture
........HTTP-Specific Support
........Writing an HTTP Server
........Using FTP
........Using DNS
........Sending Mail with SmtpClient
........Using TCP
........Receiving POP3 Mail with TCP
Chapter 16 Serialization
........Serialization Concepts
........The Data Contract Serializer
........Data Contracts and Collections
........Extending Data Contracts
........The Binary Serializer
........Binary Serialization Attributes
........Binary Serialization with ISerializable
........XML Serialization
Chapter 17 Assemblies
........What’s in an Assembly?
........Strong Names and Assembly Signing
........Assembly Names
........Authenticode Signing
........The Global Assembly Cache
........Resources and Satellite Assemblies
........Resolving and Loading Assemblies
........Deploying Assemblies Outside the Base Folder
........Packing a Single-File Executable
........Working with Unreferenced Assemblies
Chapter 18 Reflection and Metadata
........Reflecting and Activating Types
........Reflecting and Invoking Members
........Reflecting Assemblies
........Working with Attributes
........Dynamic Code Generation
........Emitting Assemblies and Types
........Emitting Type Members
........Emitting Generic Methods and Types
........Awkward Emission Targets
........Parsing IL
Chapter 19 Dynamic Programming
........The Dynamic Language Runtime
........Numeric Type Unification
........Dynamic Member Overload Resolution
........Implementing Dynamic Objects
........Interoperating with Dynamic Languages
Chapter 20 Security
........Permissions
........Code Access Security (CAS)
........Allowing Partially Trusted Callers
........The Transparency Model in CLR 4.0
........Sandboxing Another Assembly
........Operating System Security
........Identity and Role Security
........Cryptography Overview
........Windows Data Protection
........Hashing
........Symmetric Encryption
........Public Key Encryption and Signing
Chapter 21 Threading
........Threading’s Uses and Misuses
........Getting Started
........Thread Pooling
........Synchronization
........Locking
........Thread Safety
........Nonblocking Synchronization
........Signaling with Event Wait Handles
........Signaling with Wait and Pulse
........The Barrier Class
........The Event-Based Asynchronous Pattern
........BackgroundWorker
........Interrupt and Abort
........Safe Cancellation
........Lazy Initialization
........Thread-Local Storage
........Reader/Writer Locks
........Timers
Chapter 22 Parallel Programming
........Why PFX?
........PLINQ
........The Parallel Class
........Task Parallelism
........Working with AggregateException
........Concurrent Collections
........SpinLock and SpinWait
Chapter 23 Asynchronous Methods
........Why Asynchronous Methods Exist
........Asynchronous Method Signatures
........Asynchronous Methods Versus Asynchronous Delegates
........Using Asynchronous Methods
........Asynchronous Methods and Tasks
........Writing Asynchronous Methods
........Fake Asynchronous Methods
........Alternatives to Asynchronous Methods
Chapter 24 Application Domains
........Application Domain Architecture
........Creating and Destroying Application Domains
........Using Multiple Application Domains
........Using DoCallBack
........Monitoring Application Domains
........Domains and Threads
........Sharing Data Between Domains
Chapter 25 Native and COM Interoperability
........Calling into Native DLLs
........Type Marshaling
........Callbacks from Unmanaged Code
........Simulating a C Union
........Shared Memory
........Mapping a Struct to Unmanaged Memory
........COM Interoperability
........Calling a COM Component from C#
........Embedding Interop Types
........Primary Interop Assemblies
........Exposing C# Objects to COM
Chapter 26 Regular Expressions
........Regular Expression Basics
........Quantifiers
........Zero-Width Assertions
........Groups
........Replacing and Splitting Text
........Cookbook Regular Expressions
........Regular Expressions Language Reference
Appendix C# Keywords
Colophon
更多相关资源 >>
这里是其它用户补充的资源(我也要补充):
点击查看所有7网友评论













