買這商品的人也買了...
-
$650$553 -
$1,248C++ in Action: Industrial-strength Programming Techniques (Paperback)
-
$1,850$1,758 -
$650$553 -
$590$466 -
$1,029Policy-Based Network Management: Solutions for the Next Generation
-
$750$675 -
$560$504 -
$480$379 -
$750$593 -
$490$382 -
$640$506 -
$480$408 -
$690$538 -
$650$507 -
$680$537 -
$690$538 -
$680$578 -
$580$452 -
$990UMTS Signaling: UMTS Interfaces, Protocols, Message Flows and Procedures Analyzed and Explained (Hardcover)
-
$790$672 -
$620$527 -
$580$452 -
$350$277 -
$880$581
相關主題
商品描述
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