C# Concisely

Judith Bishop, Nigel Horspool

  • 出版商: Addison Wesley
  • 出版日期: 2003-09-03
  • 售價: $931
  • 語言: 英文
  • 頁數: 472
  • 裝訂: Paperback
  • ISBN: 0321154185
  • ISBN-13: 9780321154187
  • 相關分類: C#
  • 下單後立即進貨 (約5~7天)

買這商品的人也買了...

商品描述

C# is an object-oriented, network-enabled programming language, developed expressly for Microsoft's .NET platform. C# and the associated class libraries provide the features that are the most important to programmers: object-orientation, graphics, GUI components, internet-based client-server networking and distributed computing.

C# Concisely is an introductory text which teaches object-oriented programming using the C# language. The reader is involved in object-orientation from the beginning, while developing skills in the use of control structures and data structures. The book covers nearly all of the language and its important namespaces, including collections and networking, and works through polymorphism and extensibility in depth.

While targeted at first year students, C# Concisely is equally applicable for those wishing to convert from other languages, and will be an invaluable resource for students at all levels. Judith Bishop is Professor of Computer Science at the University of Pretoria, South Africa, and author of several best-selling books on programming. Nigel Horspool is Professor of Computer Science at the University of Victoria in Canada. Both authors serve on grant awarding bodies, and have spent sabbatical leaves at IBM, Microsoft and universities in several countries.

Table of Contents

Preface.

C# - where from and where to.

Outline of the book.

Our approach.

The Views system.

Acknowledgements.



List of Figures.


List of Examples.


1. Introduction.

Preamble.

The role of programming languages.

About compilation.

Interactive development environments.

Getting started with C#.



2. Using objects.

Introduction to objects.

Members of objects.

The structure of a program.

Strings, output and formatting.

Variables, assignment and input.

Understanding C# APIs.



3. Inside Objects.

The structure of a type.

Fields and properties.

Numeric types.

Expressions.

Simple loops.

Output formatting.

Methods and parameters.

Case Study 1 - Phone bill comparison.



4. Controls and Arrays.

Boolean expressions.

Selection statements.

Repetition statements.

Simple arrays.

Strings and characters.

Additional selection statements.

Case study 2 - The Rock-Paper-Scissors game.



5. Graphical User Interfaces with Views.

Graphical user interfaces.

Elements of a GUI.

Introduction to Views.

Views layout.

Views control.

Views Methodology Advanced uses of Views.

Case study 3 - The supermarket till.



6. Exceptions and Debugging.

Errors.

Exception handling.

Debugging.

Using a debugger program.



7. Files and Streams.

Files and streams.

Streams for output.

Streams for input.

File processing as a design pattern.

Files in Views.



8. Collections.

More about classes.

Collections.

Arrays as collections.

Sorted lists .

Case study 4 - Training schedules.



9. Polymorphism and Inheritance.

Objects in a changing world.

Interfaces for polymorphism.

Extensibility with inheritance.

Case study 5 - Enhancing the StarLords Serialization.



10. Graphics and Networking.

Graphics interfaces.

Simple graphics features.

Images.

Animation with threads.

Networking.

Case Study 6 - an ATM client-server system.



Appendix A. List of forms.


Appendix B. Keywords and operators.

Keywords.

Operators and punctuators.



Appendix C. Formatters.

Format specification.

Number format specifiers.

Customizing number formatters.

DateTime formatters.



Appendix D. Unicode.

Inputting Unicode character.

Selected characters.

Appendix E. Useful namespaces.

The .NET framework class library.

Usage of the namespaces.



Appendix F. The Views.Form class.

Creating Forms with Views.

Syntax of specifications for Views.Form.

Grouping tags.

Control tags.

Attribute values.

Views.Form methods.

Recommended coding style.

Use of the indexer operation.



Appendix G. Debugging with Windows.

Introduction.

The cordbg debugger.

The Just-In-Time debugger.

The Visual Studio debugger.



Index.

商品描述(中文翻譯)

C#是一種面向對象、支持網絡的編程語言,專為微軟的.NET平台開發。C#和相關的類庫提供了對程序員最重要的功能:面向對象、圖形、GUI組件、基於互聯網的客戶端-服務器網絡和分布式計算。

《C# Concisely》是一本介紹性的教材,使用C#語言教授面向對象編程。讀者從一開始就參與面向對象編程,同時發展控制結構和數據結構的使用技巧。該書涵蓋了幾乎所有語言及其重要的命名空間,包括集合和網絡,並深入介紹了多態性和可擴展性。

雖然針對一年級學生,但《C# Concisely》同樣適用於希望從其他語言轉換的人,並且對所有級別的學生都是一個寶貴的資源。Judith Bishop是南非比勒陀利亞大學的計算機科學教授,也是幾本暢銷的編程書籍的作者。Nigel Horspool是加拿大維多利亞大學的計算機科學教授。兩位作者都在資助機構任職,並曾在IBM、微軟和幾個國家的大學進行過休假。

《目錄》

前言。

C# - 來源和目標。

本書概述。

我們的方法。

Views系統。

致謝。

圖表列表。

示例列表。

1. 簡介。

前言。

編程語言的作用。

關於編譯。

交互式開發環境。

開始使用C#。

2. 使用對象。

對象介紹。

對象的成員。

程序的結構。

字符串、輸出和格式化。

變量、賦值和輸入。

理解C# API。

3. 對象內部。

類型的結構。

字段和屬性。

數字類型。

表達式。

簡單循環。

輸出格式化。

方法和參數。

案例研究1 - 電話賬單比較。

4. 控件和數組。

布爾表達式。

選擇語句。

重複語句。

簡單數組。

字符串和字符。

其他選擇語句。