買這商品的人也買了...
-
$1,029Fundamentals of Data Structures in C++
-
$680$537 -
$2,660$2,527 -
$980$774 -
$980$960 -
$749Disappearing Cryptography, 2/e
-
$780$741 -
$590$466 -
$690$538 -
$880$792 -
$750$638 -
$560$476 -
$2,390$2,271 -
$490$387 -
$720$612 -
$480$379 -
$750$593 -
$780$741 -
$590$460 -
$620$490 -
$480$379 -
$599$473 -
$480$408 -
$520$411 -
$540$427
商品描述
The heart of C# in a Nutshell is a succinct but detailed reference to the C# language and the .NET types most essential to C# programmers. Each chapter in the API reference begins with an overview of a .NET namespace and a diagram of its types, including a quick-reference entry for each type, with name, assembly, category, description, member availability, class hierarchy, and other relevant information, such as whether the type is part o the ECMA CLI specification. Newly updated for .NET Framework version 1.1, the second edition also adds a CD that allows you to integrate the book's API Quick Reference directly into the help files of Visual Studio .NET 2002 & 2003, giving you direct access to this valuable information via your computer.
Table of Contents
Preface
I. Programming with C#
1. Introducing C# and the .NET Framework
The C# Language
The .NET Framework
ECMA Standardization
Changes in
Visual C# 2003
2. C# Language Basics
A First C# Program
Identifiers and Keywords
Type Basics
Value Types and Reference Types
Predefined Types
Arrays
Variables and Parameters
Expressions and Operators
Statements
Namespaces
3. Creating Types in C#
Classes
Inheritance
Access Modifiers
Structs
Interfaces
Enums
4. Advanced C# Features
Delegates
Delegates Versus Function Pointers
Delegates Versus Interfaces
Events
Operator Overloading
Try
Statements and Exceptions
Attributes
Unsafe Code and Pointers
Preprocessor Directives
XML Documentation
II. Programming with the .NET Framework
5. Framework Class Library Overview
Core
Types
Text
Collections
Streams and I/O
Networking
Threading
Security
Reflection and Metadata
Assemblies
Serialization
Remoting
Web Services
Data Access
XML
Graphics
Rich Client
Applications
Web-Based Applications
Globalization
Configuration
Advanced Component Services
Diagnostics and Debugging
Interoperating with
Unmanaged Code
Compiler and Tool Support
Runtime Facilities
Native OS
Facilities
Undocumented Types
6. String Handling
String Class
StringBuilder Class
Regular
Expression Support
Regular Expression Basics
Procedural- and Expression-Based Patterns
Cookbook Regular Expressions
7. Collections
Iterating Over Collections
Standard Collection Interfaces
Predefined Collection Classes
Ordering
Instances
Generating Hash Code
8. XML I/O
Accessing XML Documents
Parsing an XML Stream
Selecting Nodes Using XPath
Transforming a
Document Using XSLT
9. Networking
Network Programming Models
Generic Request/Response Architecture
HTTP-Specific Support
WebClient
Adding New Protocol Handlers
Using TCP, UDP, and Sockets
Using DNS
10. Streams and I/O
Streams and Backing
Stores
Encapsulating Raw Streams
Directories and Files
Isolated
Storage
11. Serialization
What Is Serialization?
Serialization Support in the Framework
Explicit Serialization
Implicit
Serialization
[Serializable]
[NonSerialized]
IDeserializationCallback
ISerializable
[Serializable] and ISerializable
12. Assemblies
Elements of an Assembly
Assemblies and Modules
Scoping Types and Type References
Naming and
Signing Assemblies
Resolving and Loading Assemblies
Deployment
Security
Permissions
13. Reflection
Type Hierarchy
Types, Members, and Nested Types
Retrieving the Type for an Instance
Retrieving a Type Directly
Reflecting Over a
Type Hierarchy
Late Binding
Advanced Uses of Reflection
Creating New
Types at Runtime
14. Custom Attributes
Language Support
Compiler Support
Runtime Support
Predefined Attributes
Defining a New Custom Attribute
Retrieving a Custom Attribute at Runtime
15. Memory Management
The Garbage
Collector
Optimization Techniques
Finalizers
Dispose and Close
Methods
16. Threading
Thread Synchronization
Common Thread Types
Asynchronous Delegates
17. Integrating with Native DLLs
Calling
Into DLLs
Marshaling Common Types
Marshaling Classes and Structs
In and
Out Marshaling
Callbacks from Unmanaged Code
Simulating a C Union
Mapping a Struct to a Binary Format
Predefined Interop Support Attributes
18. Integrating with COM Components
Binding COM and C# Objects
Exposing COM
Objects to C#
Exposing C# Objects to COM
COM Mapping in C#
Common COM
Interop Support Attributes
COM+ Support
19. Diagnostics
Logging and Assertion
Facilities
Conditional Compilation
Debugger Integration
Processes,
Threads, and Stacks
Event Logs
Performance Counters
20. C# Language Reference
III. Language and Tools Reference
21. XML Documentation Tag Reference
22. C# Naming and Coding Conventions
Case
Mechanics
Word Choice
Namespaces
23. C# Development Tools
IV. API Quick Reference
24. How to Use This Quick Reference
25. The Microsoft.Win32 Namespace
26. System
27. System.Collections
28. System.Collections.Specialized
29. System.Diagnostics
30. System.Globalization
31. System.IO
32. System.IO.IsolatedStorage
33. System.Net
34. System.Net.Sockets
35. System.Reflection
36. System.Reflection.Emit
37. System.Runtime.InteropServices
38. System.Runtime.Serialization
39. System.Runtime.Serialization.Formatters
40. System.Text
41. System.Text.RegularExpressions
42. System.Threading
43. System.Timers
44. System.Xml
45. System.Xml.XPath
46. System.Xml.Xsl
V. Appendixes
A. Regular Expressions
B. Format Specifiers
C. Data Marshaling
D. C# Keywords
E. Namespaces and Assemblies
Type, Method, Property, Event, and Field Index
Index
商品描述(中文翻譯)
《C# in a Nutshell》的核心是一個簡潔但詳細的 C# 語言及對 C# 程式設計師最重要的 .NET 類型的參考。API 參考中的每一章都以 .NET 命名空間的概述和其類型的圖示開始,包括每個類型的快速參考條目,內容涵蓋名稱、組件、類別、描述、成員可用性、類別層級及其他相關資訊,例如該類型是否為 ECMA CLI 規範的一部分。第二版已針對 .NET Framework 版本 1.1 進行更新,並新增了一張 CD,讓您可以將書中的 API 快速參考直接整合到 Visual Studio .NET 2002 和 2003 的幫助文件中,讓您能透過電腦直接訪問這些寶貴的資訊。
目錄
前言
I. 使用 C# 程式設計
1. C# 和 .NET Framework 介紹
- C# 語言
- .NET Framework
- ECMA 標準化
- Visual C# 2003 的變更
2. C# 語言基礎
- 第一個 C# 程式
- 識別符和關鍵字
- 類型基礎
- 值類型和引用類型
- 預定義類型
- 陣列
- 變數和參數
- 表達式和運算符
- 語句
- 命名空間
3. 在 C# 中創建類型
- 類
- 繼承
- 存取修飾符
- 結構
- 介面
- 列舉
4. 高級 C# 特性
- 委派
- 委派與函數指針
- 委派與介面
- 事件
- 運算符重載
- 嘗試語句和例外
- 屬性
- 不安全代碼和指針
- 預處理指令
- XML 文檔
II. 使用 .NET Framework 程式設計
5. 框架類庫概述
- 核心類型
- 文本
- 集合
- 流和 I/O
- 網路
- 執行緒
- 安全性
- 反射和元數據
- 程式集
- 序列化
- 遠端呼叫
- 網路服務
- 數據存取
- XML
- 圖形
- 豐富客戶端應用程式
- 基於網頁的應用程式
- 全球化
- 配置
- 高級組件服務
- 診斷和除錯
- 與非管理代碼互操作
- 編譯器和工具支援
- 執行時設施
- 原生作業系統設施
- 未記錄的類型
6. 字串處理
- 字串類
- StringBuilder 類
- 正規表達式支援
- 正規表達式基礎
- 程序式和表達式基礎的模式
- 食譜正規表達式
7. 集合
- 遍歷集合
- 標準集合介面
- 預定義集合類
- 實例排序
- 生成雜湊碼
8. XML I/O
- 訪問 XML 文檔
- 解析 XML 流
- 使用 XPath 選擇節點
- 使用 XSLT 轉換文檔
9. 網路
- 網路程式設計模型
- 通用請求/回應架構
- HTTP 特定支援
- WebClient
- 新增協定處理程序
- 使用 TCP、UDP 和套接字
- 使用 DNS
10. 流和 I/O
- 流和後備存儲
- 封裝原始流
- 目錄和檔案
- 隔離存儲
11. 序列化
- 什麼是序列化?
- 框架中的序列化支援
- 顯式序列化
- 隱式序列化
- [Serializable]
- [NonSerialized]
- IDeserializationCallback
- ISerializable
- [Serializable] 和 ISerializable
12. 程式集
- 程式集的元素
- 程式集和模組
- 類型範圍和類型引用
- 命名和簽名程式集
- 解決和加載程式集
- 部署
- 安全權限
13. 反射
- 類型層級
- 類型、成員和嵌套類型
- 獲取實例的類型
- 直接獲取類型
- 反射類型層級
- 延遲綁定
- 反射的高級用法
- 在執行時創建新類型
14. 自定義屬性
- 語言支援
- 編譯器支援
- 執行時支援
- 預定義屬性
- 定義新的自定義屬性
- 在執行時獲取自定義屬性
15. 記憶體管理
- 垃圾回收器
- 優化技術
- 最終化器
- Dispose 和 Close 方法
16. 執行緒
- 執行緒同步
- 常見執行緒類型
- 非同步委派
17. 與本機 DLL 整合
- 調用 DLL
- 常見類型的封送處理
- 封送處理類和結構
- 輸入和輸出封送處理
- 從非管理代碼的回調
- 模擬 C 聯合
- 將結構映射到二進位格式
- 預定義的互操作支援屬性
18. 與 COM 元件整合
- 綁定 COM 和 C# 物件
- 將 COM 物件暴露給 C#
- 將 C# 物件暴露給 COM
- C# 中的 COM 映射
- 常見的 COM 互操作支援屬性
- COM+ 支援
19. 診斷
- 日誌和斷言設施
- 條件編譯
- 除錯器整合
- 程式、執行緒和堆疊
- 事件日誌
- 性能計數器
20. C# 語言參考
III. 語言和工具參考
21. XML 文檔標籤參考
22. C# 命名和編碼慣例
- 大小寫
- 機制
- 字詞選擇
- 命名空間
23. C# 開發工具
IV. API 快速參考
24. 如何使用此快速參考
25. Microsoft.Win32 命名空間
26. System
27. System.Collections
28. System.Collections.Specialized
29. System.Diagnostics
30. System.Globalization
31. System.IO
32. System.IO.IsolatedStorage
33. System.Net
34. System.Net.Sockets
35. System.Reflection
36. System.Reflection.Emit
37. System.Runtime.InteropServices
38. System.Runtime.Serialization
39. System.Runtime.Serialization.Formatters
40. System.Text
41. System.Text.RegularExpressions
42. System.Threading
43. System.Timers
44. System.Xml
45. System.Xml.XPath
46. System.Xml.Xsl
V. 附錄
A. 正規表達式
B. 格式說明符
C. 數據封送處理
D. C# 關鍵字
E. 命名空間和程式集
類型、方法、屬性、事件和欄位索引
索引