| |
| |
Preface | |
| |
| |
Before You Begin | |
| |
| |
Introduction 11.1 | |
| |
| |
Introduction 21.2 | |
| |
| |
Microsofts Windows Operating System 21.3 | |
| |
| |
C, C++ and Java 31.4 | |
| |
| |
Visual C# 41.5 | |
| |
| |
Key Software Trend: Object Technology 51.6 | |
| |
| |
The Internet and the World Wide Web 51.7 | |
| |
| |
Extensible Markup Language (XML) 71.8 | |
| |
| |
Introduction to Microsoft .NET 71.9 | |
| |
| |
The .NET Framework and the Common Language Runtime 81.10 | |
| |
| |
Test-Driving a C# Advanced Painter Application 91.11 | |
| |
| |
(Only Required Section of the Case Study) Software Engineering Case Study: Introduction to Object Technology and the UML 111.12 | |
| |
| |
Wrap-Up 161.13 | |
| |
| |
Web Resources | |
| |
| |
Dive Into Visual C# 2008 Express 182.1 | |
| |
| |
Introduction 192.2 | |
| |
| |
Overview of the Visual Studio 2008 IDE 192.3 | |
| |
| |
Menu Bar and Toolbar 252.4 | |
| |
| |
Navigating the Visual Studio IDE 282.5 | |
| |
| |
Using Help 332.6 | |
| |
| |
Using Visual Programming to Create a Simple Program that Displays Text and an Image 352.7 | |
| |
| |
Wrap-Up 472.8 | |
| |
| |
Web Resources | |
| |
| |
Introduction to C# Applications 493.1 | |
| |
| |
Introduction 503.2 | |
| |
| |
A Simple C# Application: Displaying a Line of Text 503.3 | |
| |
| |
Creating a Simple Application in Visual C# Express 553.4 | |
| |
| |
Modifying Your Simple C# Application 633.5 | |
| |
| |
Formatting Text with Console | |
| |
| |
Write and Console | |
| |
| |
WriteLine 653.6 | |
| |
| |
Another C# Application: Adding Integers 663.7 | |
| |
| |
Arithmetic 703.8 | |
| |
| |
Decision Making: Equality and Relational Operators 713.9 | |
| |
| |
(Optional) Software Engineering Case Study: Examining the ATM Requirements Document 763.10 | |
| |
| |
Wrap-Up 853.11 | |
| |
| |
Web Resources | |
| |
| |
Introduction to Classes and Objects 864.1 | |
| |
| |
Introduction 874.2 | |
| |
| |
Classes, Objects, Methods, Properties and Instance Variables 874.3 | |
| |
| |
Declaring a Class with a Method and Instantiating an Object of a Class 894.4 | |
| |
| |
Declaring a Method with a Parameter 934.5 | |
| |
| |
Instance Variables and Properties 964.6 | |
| |
| |
UML Class Diagram with a Property 1024.7 | |
| |
| |
Software Engineering with Properties and set and get Accessors 1024.8 | |
| |
| |
Auto-Implemented Properties 1044.9 | |
| |
| |
Value Types vs. Reference Types 1054.10 | |
| |
| |
Initializing Objects with Constructors 1074.11 | |
| |
| |
Floating-Point Numbers and Type decimal 1104.12 | |
| |
| |
(Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements Document 1164.13 | |
| |
| |
Wrap-Up 1235 Control Statements | |
| |
| |
| |
1255.1 | |
| |
| |
Introduction 1265.2 | |
| |
| |
Control Structures 1265.3 | |
| |
| |
if Single-Selection Statement 1295.4 | |
| |
| |
ifelse Double-Selection Statement 1305.5 | |
| |
| |
while Repetition Statement 1345.6 | |
| |
| |
Counter-Controlled Repetition 1355.7 | |
| |
| |
Formulating Algorithms: Sentinel-Controlled Repetition 1395.8 | |
| |
| |
Formulating Algorithms: Nested Control Statements 1445.9 | |
| |
| |
Compound Assignment Operators 1475.10 | |
| |
| |
Increment and Decrement Operators 1485.11 | |
| |
| |
Simple Types 1515.12 | |
| |
| |
(Optional) Software Engineering Case Study: Identifying Class Attributes in the ATM System 1515.13 | |
| |
| |
Wrap-Up 1566 Control Statements | |
| |
| |
| |
1576.1 | |
| |
| |
Introduction 1586.2 | |
| |
| |
Essentials of Counter-Controlled Repetition 1586.3 | |
| |
| |
for Repetition Statement 1606.4 | |
| |
| |
Examples Using the for Statement 1646.5 | |
| |
| |
dowhile Repetition Statement 1686.6 | |
| |
| |
switch Multiple-Selection Statement 1706.7 | |
| |
| |
break and continue Statements 1786.8 | |
| |
| |
Logical Operators 1806.9 | |
| |
| |
(Optional) Software Engineering Case Study: Identifying Objects States and Activities in the ATM System 1866.10 | |
| |
| |
Wrap-Up 1907 Methods: A Deeper Look 1927.1 | |
| |
| |
Introduction 1937.2 | |
| |
| |
Packaging Code in C# 1937.3 | |
| |
| |
static Methods, static Variables and Class Math 1947.4 | |
| |
| |
Declaring Methods | |