買這商品的人也買了...
-
$650$514 -
$1,248C++ in Action: Industrial-strength Programming Techniques (Paperback)
-
$1,850$1,758 -
$650$514 -
$590$466 -
$1,029Policy-Based Network Management: Solutions for the Next Generation
-
$750$638 -
$560$476 -
$480$379 -
$750$593 -
$490$382 -
$640$506 -
$480$379 -
$690$538 -
$650$507 -
$680$537 -
$690$538 -
$680$537 -
$580$452 -
$1,188UMTS Signaling: UMTS Interfaces, Protocols, Message Flows and Procedures Analyzed and Explained (Hardcover)
-
$790$672 -
$620$490 -
$580$452 -
$350$277 -
$880$695
商品描述
Description:
C# is an object-oriented programming language that is similar to the Java programming language in many respects but more comprehensive and different in most details. This book gives a concise description of C#. It is intended as a guide for readers who know Java and want to learn C# and as a quick reference for anyone who wants to know C# in more detail than that provided by a standard textbook. The final chapter of C# Precisely summarizes the differences between C# and Java.
C# Precisely is one of the first books on C# to cover version 2.0. It presents the entire C# 2.0 programming language, including generics, iterators, and anonymous methods. It excludes most of the extensive Microsoft.NET framework class libraries except threads, input/output, and generic collection classes. The book shows general rules on left-hand pages, with corresponding examples on right-hand pages. All examples are fragments of legal C# programs. The complete, ready-to-run example programs are available at the book's Web site, www.dina.kvl.dk/~sestoft/csharpprecisely/.
Peter Sestoft is Professor of Information Technology at the Royal Veterinary and Agricultural University and at the IT University of Copenhagen, Denmark.
Henrik I. Hansen holds master's degrees in Chemistry as well as Information Technology.
Table of Contents:
Preface ix Notational Conventions x 1 Compiling, Loading and Executing C# Programs 2 2 Names and Reserved Names 4 3 C# Naming Conventions 4 4 Comments and Program Layout 4 5 Data and Types 6 6 Variables, Parameters, Fields, and Scope 14 7 Strings 16 8 String Builders 24 9 Arrays 26 10 Classes 32 11 The Machine Model: Stack, Heap, and Garbage Collection 54 12 Expressions 56 13 Statements 84 14 Struct Types 102 15 Interfaces 106 16 Enum Types 110 17 Delegate Types 112 18 Nullable Types over Value Types (C# 2.0) 114 19 Exceptions 116 20 Threads, Concurrent Execution, and Synchronization 118 21 Mathematical Functions 124 22 Input and Output 126 23 Generic Types and Methods (C# 2.0) 144 24 Generic Collections: Lists and Dictionaries (C# 2.0) 158 25 Namespaces 172 26 Partial Type Declarations (C# 2.0) 174 27 Assertions and the Debug.Assert Method 176 28 Attributes 178 29 Main Differences between C# and Java 180 30 References 182 Index 183
商品描述(中文翻譯)
描述:
C# 是一種物件導向程式語言,在許多方面與 Java 程式語言相似,但在大多數細節上更為全面且有所不同。本書對 C# 進行了簡明的描述。它旨在作為了解 Java 的讀者學習 C# 的指南,以及作為希望比標準教科書提供的內容更詳細了解 C# 的任何人的快速參考。《C# Precisely》的最後一章總結了 C# 與 Java 之間的差異。
《C# Precisely》是第一本涵蓋 C# 2.0 版本的書籍之一。它介紹了整個 C# 2.0 程式語言,包括泛型、迭代器和匿名方法。它排除了大多數廣泛的 Microsoft .NET 框架類別庫,僅保留執行緒、輸入/輸出和泛型集合類別。本書在左側頁面顯示一般規則,右側頁面則提供相應的範例。所有範例都是合法 C# 程式的片段。完整的、可執行的範例程式可在本書的網站上獲得,www.dina.kvl.dk/~sestoft/csharpprecisely/。
彼得·塞斯托夫(Peter Sestoft)是丹麥皇家獸醫與農業大學及哥本哈根資訊科技大學的資訊科技教授。
亨里克·I·漢森(Henrik I. Hansen)擁有化學及資訊科技的碩士學位。
目錄:
前言
符號慣例
1. 編譯、加載和執行 C# 程式
2. 名稱和保留名稱
3. C# 命名慣例
4. 註解和程式佈局
5. 數據和類型
6. 變數、參數、欄位和範圍
7. 字串
8. 字串生成器
9. 陣列
10. 類別
11. 機器模型:堆疊、堆和垃圾回收
12. 表達式
13. 語句
14. 結構類型
15. 介面
16. 列舉類型
17. 委派類型
18. 可空類型與值類型(C# 2.0)
19. 異常
20. 執行緒、並發執行和同步
21. 數學函數
22. 輸入和輸出