Starting Out with C# - James Chegwidden, Tony Gaddis

Starting Out with C#

Buch | Softcover
790 Seiten
2005
Scott Jones Publishing Inc., US (Verlag)
978-1-57676-161-8 (ISBN)
59,80 inkl. MwSt
zur Neuauflage
  • Titel erscheint in neuer Auflage
  • Artikel merken
Zu diesem Artikel existiert eine Nachauflage
Aimed at students learning to program, this book contains a detailed presentation of both programming and C# syntax concepts.
Tony Gaddis' books are among the most widely-used books for students learning to program all over the world.  In Starting Out With C#, Gaddis makes a very detailed and slow-paced presentation of both programming and C# syntax concepts so all readers will be able to follow along.  The book includes the hallmark pedagogocial features that readers of Gaddis books have come to expect.

1.     Introduction to Programming and C#

            1.1       Introduction

            1.2       Why Program?

            1.3       Computer Systems: Hardware and Software

            1.4       Programming Languages

            1.5       What Is a Program Made Of?

            1.6       The Programming Process

            1.7       Object-Oriented Programming

 

2.     C# Fundamentals

2.1       The Parts of a C# Program

2.2       The Write and WriteLine Methods and the .NET FCL

2.3       Variables and Literals

2.4       C# Data Types

2.5       Arithmetic Operators

2.6       Combined Assignment Operators

2.7       Conversion Between Data Types

2.8       Creating Named Constants with const

2.9       The string type

2.10    Scope

2.11    Comments

2.12    Programming Style

2.13    Reading Keyboard Input

2.14    Common Errors to Avoid

 

3.  Methods

3.1       Introduction to Methods

3.2       Passing Arguments to a Method

3.3       More About Local Variables

3.4       Returning a Value from a Method

3.5       Problem Solving with Methods

3.6       Recursion

3.7       Common Errors to Avoid

 

4. A First Look at Classes

4.1       Classes and Objects

4.2       Instance Fields and Methods

4.3       Constructors

4.4       Overloading Methods and Constructors

4.5       Scope of Instance Fields

4.6       Using get and set

4.7       Common Errors to Avoid  

 

5.  Decision Structures  

            5.1       The if Statement

            5.2       The if-else Statement

            5.3       The if-else-if Statement

            5.4       Nested if Statements

            5.5       Logical Operators

            5.6       Comparing string Objects

            5.7       More about Variable Declaration and Scope

            5.8       The Conditional Operator

            5.9       The switch Statement

            5.10    Formatting Numbers

            5.11    Common Errors to Avoid

 

6. Loops and Files

6.1      The Increment and Decrement Operators

6.2       The while Loop

6.3       Using the while Loop for Input Validation

6.4       The do-while Loop

6.5       The for Loop

6.6       Running Totals and Sentinel Values

6.7       Nested Loops

6.8       The break and continue Statements

6.9       Deciding Which Loop to Use

6.10    Introduction to File Input and Output

6.11    Common Errors to Avoid


7.  Arrays

                7.1       Introduction to Arrays

7.2       Processing Array Contents

7.3       The foreach Loop

7.4       Passing Arrays as Arguments to Methods

7.5       Returning Arrays from Methods

7.6       Arrays of Objects

7.7       Searching and Sorting

7.8       Multidimensional Arrays

7.9       Command-Line Arguments

7.10    Common Errors to Avoid

 

8.  A Second Look at Classes and Objects

8.1       Static Class Members

8.2       Passing Objects as Arguments to Methods

8.3       Returning Objects from Methods

8.4       The ToString method, the Equals Method, and Same Class Operations

8.5       Aggregation

8.6       The this Reference Variable

8.7       Namespaces

8.8       Common Errors to Avoid

 

9. Character, Text Processing, Exceptions & Files

9.1       Character Testing and Conversion with the Char Class

9.2       More string Methods

9.3       The StringWriter Class

9.4       Using the split method to parse strings.

                9.5       Common Errors to Avoid

9.6       Handling Exceptions

9.7       Advanced Topics: Binary Files and Random Access Files

                9.8       Common Errors to Avoid

 

10.  Inheritance

10.1    What Is Inheritance?

10.2    Calling the Superclass Constructor

10.3    Overriding Superclass Methods

10.4    Protected Members

10.5    Chains of Inheritance

10.6    The Object Class

10.7    Polymorphism

10.8    Abstract Classes and Abstract Methods

10.9    Interfaces

10.10  Common Errors to Avoid

 

11.  A First Look at Windows Applications

11.1    Introduction

11.2     Event-Driven programming

11.3     Visual Studio and the Visual C# .NET Environment

11.4     More About Controls and Programming

11.5    Focus on Problem Solving: Building the Hotel Directions Application

11.6    Focus on Problem Solving: Responding to Events

11.7     Modifying the Text property with Code

11.8    Using Visual C# .NET Help

11.9    Debugging Your Application

 

12.  Advanced Window Applications

                12.1    Gathering Text Input

                12.2    Group Boxes, Form Formatting

                12.3    Focus on Program Design and Problem Solving: Building the Room Charge Calculator Application

12.4    Focus on GUI Design: The Message Box

12.5    Introduction to Input Validation

12.6    Focus on GUI Design: Radio Buttons and Check Boxes

12.7    Input Boxes & List Boxes

12.8    Checked List Boxes and Combo Boxes

12.9    Tool Tips

 

Appendices A.    The ASCII and Unicode Characters

B.     Operator Precedence Table

C.    C# Key Words

D.    Running Programs from Command Line

E.     Running Programs using Visual C#

F.     Answers to Checkpoints

G.    Answers to Odd Number Review Questions

 

Erscheint lt. Verlag 25.5.2005
Zusatzinfo Illustrations, unspecified
Sprache englisch
Maße 187 x 235 mm
Gewicht 1320 g
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
ISBN-10 1-57676-161-4 / 1576761614
ISBN-13 978-1-57676-161-8 / 9781576761618
Zustand Neuware
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das Handbuch für Webentwickler

von Philip Ackermann

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90
Grundlagen und praktische Anwendungen von Transpondern, kontaktlosen …

von Klaus Finkenzeller

Buch (2023)
Hanser (Verlag)
89,99