did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780619159979

Microsoft Visual C# . NET Programming : From Problem Analysis to Program Design

by
  • ISBN13:

    9780619159979

  • ISBN10:

    0619159979

  • Format: Paperback
  • Copyright: 2004-01-21
  • Publisher: Cengage Learning
  • View Upgraded Edition

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

List Price: $230.95 Save up to $57.74
  • Buy Used
    $173.21
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

This text is ideal for a first course in Computer Science using the C# programming language. Written with the student in mind, code is reflected accurately in blue and green throughout the text, and complete programming examples are included in every chapter. End-of-chapter exercises challenge the reader and test knowledge of the key concepts.

Author Biography

Barbara Doyle is Professor of Computing Sciences at Jacksonville University.

Table of Contents

PREFACE xxi
1. Introduction to Computing and Programming
1(38)
History of Computers
2(3)
Physical Components of a Computer System
5(4)
Hardware
5(4)
Data Representation
9(4)
Bits
9(1)
Bytes
9(1)
Binary Number System
9(2)
Character Sets
11(1)
Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte...
12(1)
System and Application Software
13(1)
System Software
13(1)
Application Software
14(1)
Software Development Process
14(7)
Steps in the Program Development Process
15(6)
Programming Methodologies
21(5)
Structured Procedural Programming
22(1)
Object-Oriented Programming
23(3)
Evolution of C# and .NET
26(4)
Programming Languages
26(1)
.NET
27(3)
Why C#?
30(1)
Resources
31(1)
Quick Review
31(2)
Exercises
33(6)
2. Your First C# Program
39(40)
Types of Applications Developed with C#
40(3)
Web Applications
40(1)
Windows Applications
41(1)
Console Applications
42(1)
Exploring the First C# Program
43(1)
Elements of a C# Program
43(10)
Comments
44(1)
Using Directive
45(2)
Namespace
47(1)
Class Definition
48(1)
Main( ) Method
48(1)
Method Body-Statements
49(4)
Installing the .NET Framework
53(3)
Creating a Place to Store Your Work
54(1)
Typing Your Program Statements
55(1)
Compiling, Building, and Running an Application
56(6)
Compilation and Execution Process
56(1)
Compiling the Source Code Using Visual Studio .NET IDE
57(5)
Debugging an Application
62(2)
Syntax Errors
63(1)
Runtime Errors
64(1)
Creating an Application
64(1)
Programming Example: Programming Message
65(5)
Quick Review
70(2)
Exercises
72(4)
Programming Exercises
76(3)
3. Data Types and Expressions
79(48)
Memory Locations for Data
80(4)
Identifiers
80(3)
Variables
83(1)
Literal Values
83(1)
Types, Classes, and Objects
84(2)
Types
84(1)
Classes
85(1)
Objects
85(1)
Predefined Data Types
86(3)
Value Types
88(1)
Integral Data Types
89(2)
Floating-Point Types
91(2)
Decimal Types
93(1)
Boolean Variables
93(1)
Declaring Strings
94(1)
Making Data Constant
94(1)
Assignment Statements
95(11)
Basic Arithmetic Operations
98(2)
Increment and Decrement Operations
100(4)
Compound Operations
104(2)
Order of Operations
106(4)
Mixed Expressions
107(2)
Casts
109(1)
Programming Example: CarpetCalculator
110(7)
Formatting Output
117(2)
Quick Review
119(1)
Exercises
120(5)
Programming Exercises
125(2)
4. Methods and Behaviors
127(68)
Anatomy of a Method
128(8)
Modifiers
130(3)
Return Type
133(1)
Method Name
134(1)
Parameters
134(1)
Method Body
135(1)
Calling Class Methods
136(2)
Predefined Methods
138(12)
Writing Your Own Class Methods
150(7)
Void Methods
151(1)
Value Returning Method
152(5)
The Object Concept
157(1)
Private Member Data
158(1)
Writing Your Own Instance Methods
158(5)
Constructor
158(2)
Accessor
160(1)
Mutators
161(1)
Property
162(1)
Calling Instance Methods
163(7)
Calling the Constructor
163(1)
Calling Accessor and Mutator Methods
164(6)
Types of Parameters
170(4)
Programming Example: RealEstateInvestment
174(10)
Quick Review
184(2)
Exercises
186(7)
Programming Exercises
193(2)
5. Making Decisions
195(56)
Boolean Results and Bool Data Types
196(2)
Boolean Results
196(1)
Boolean Data Type
197(1)
Conditional Expressions
198(9)
Equality, Relational, and Logical Tests
198(7)
Short-Circuit Evaluation
205(2)
If...else Selection Statements
207(15)
One-way If Statement
207(5)
Two-way If Statement
212(5)
Nested If...else Statement
217(5)
Switch Selection Statements
222(4)
Ternary Operator ? :
226(1)
Order of Operations
227(2)
Programming Example: Speeding Ticket Application
229(9)
Quick Review
238(2)
Exercises
240(7)
Programming Exercises
247(4)
6. Repeating Instructions
251(60)
Why Use a Loop?
252(1)
Using the While Statement
252(18)
Counter-Controlled Loop
254(4)
Sentinel-Controlled Loop
258(9)
State-Controlled Loops
267(3)
Using the For Statement Loop
270(7)
Using the Foreach Statement
277(1)
Using the Do...while Structure
278(3)
Nested Loops
281(5)
Unconditional Transfer of Control
286(2)
Continue Statement
287(1)
Deciding Which Loop to Use
288(1)
Programming Example: LoanApplication
289(12)
Quick Review
301(1)
Exercises
302(5)
Programming Exercises
307(4)
7. Arrays and Collections
311(70)
Array Basics
312(1)
Array Declaration
313(5)
Array Initializers
316(2)
Array Access
318(6)
Sentinel-Controlled Access
322(1)
Using Foreach with Arrays
323(1)
Array Class
324(5)
Arrays as Method Parameters
329(7)
Pass by Reference
329(4)
Array Assignment
333(1)
Params Parameters
334(2)
Arrays in Classes
336(9)
Array of User-Defined Objects
338(1)
Arrays as Return Types
338(7)
Two-Dimensional Arrays
345(4)
Rectangular Array
345(4)
Jagged Array
349(1)
Multidimensional Arrays
349(5)
ArrayList Class
354(3)
String Class
357(4)
Programming Example: Manatee Application
361(10)
Quick Review
371(1)
Exercises
372(7)
Programming Exercises
379(2)
8. Introduction to Windows Programming
381(76)
Contrasting Windows and Console Applications
382(2)
Graphical User Interfaces
384(4)
Elements of Good Design
388(2)
Consistency
388(1)
Alignment
389(1)
Avoid Clutter
389(1)
Color
389(1)
Target Audience
389(1)
Use C# and Visual Studio .NET to Create Windows-Based Applications
390(3)
Windows Forms
393(10)
Windows Form Properties
393(5)
Inspecting the Code Generated by Visual Studio .NET
398(3)
Windows Form Events
401(2)
Controls
403(22)
Place, Move, Resize, and Delete Control Objects
406(1)
Methods and Properties of the Control Class
407(1)
Derived Classes of the System.Windows.Form.Control Class
408(17)
Programming Example: TempAgency Application
425(24)
Quick Review
449(1)
Exercises
450(5)
Programming Exercises
455(2)
9. Programming Based on Events
457(98)
Delegates
458(5)
Defining Delegates
458(1)
Creating Delegate Instances
459(1)
Using Delegates
460(2)
Relationship of Delegates to Events
462(1)
Event Handling in C#
463(1)
Event-Handler Methods
464(1)
ListBox Control Objects
464(13)
Create a Form to Hold ListBox Controls
464(3)
ListBox Event Handlers
467(1)
Multiple Selections with a ListBox Object
468(9)
ComboBox Control Objects
477(5)
Add ComboBox Objects
478(1)
Handling ComboBox Events
479(1)
Registering a KeyPress Event
479(1)
Programming Event Handlers
480(2)
Menu Control Objects
482(17)
Adding Main Menus
482(4)
Adding Predefined Standard Windows Dialog Boxes
486(13)
CheckBox and RadioButton Objects
499(15)
CheckBox Objects
499(1)
Adding CheckBox Objects
499(1)
Registering CheckBox Object Events
500(2)
Wiring One Event Handler to Multiple Objects
502(1)
GroupBox Objects
503(1)
RadioButton Objects
503(1)
Adding RadioButton Objects
504(1)
Registering RadioButton Object Events
505(9)
Programming Example: DinerGui Application
514(31)
Quick Review
545(2)
Exercises
547(6)
Programming Exercises
553(2)
10. Advanced Object-Oriented Programming Features 555(66)
Object-Oriented Language Features
556(1)
Component-Based Development
557(1)
Inheritance
558(27)
Inheriting from the Object Class
558(1)
Inheriting from Other .NET FCL Classes
559(1)
Creating Base Classes for Inheritance
560(3)
Overriding Methods
563(1)
Creating Derived Classes
564(9)
Making Stand-Alone Components
573(6)
Creating a Client Application to Use the DLL
579(4)
Using ILDASM to View the Assembly
583(2)
Abstract Classes
585(2)
Abstract Methods
585(2)
Interfaces
587(7)
Defining an Interface
587(1)
Implement the Interface
588(3)
.NET Framework Interfaces
591(3)
Polymorphism
594(2)
Polymorphic Programming in .NET
595(1)
Programming Example: StudentGov Application
596(16)
Quick Review
612(2)
Exercises
614(4)
Programming Exercises
618(3)
11. Handling Exceptions and Stored Data 621(68)
Exceptions
622(5)
Raising an Exception
625(1)
Bugs, Errors, and Exceptions
625(2)
Exception-Handling Techniques
627(6)
Try. .. Catch... Finally Blocks
628(4)
Exception Object
632(1)
Exception Classes
633(11)
Derived Classes of the Base Exception Class
633(1)
ApplicationException Class
634(1)
SystemException Class
634(2)
Filtering Multiple Exceptions
636(3)
Custom Exceptions
639(3)
Throwing an Exception
642(1)
Input Output (10) Exceptions
643(1)
File Streams
644(14)
Writing Text Files
648(5)
Reading Text Files
653(5)
Database Access
658(2)
ADO.NET
660(19)
Data Providers
660(1)
Connecting to the Database
661(1)
Retrieving Data from the Database
662(2)
Processing the Data
664(8)
Updating Database Data
672(1)
Using Datasets to Process Database Records
672(7)
Quick Review
679(2)
Exercises
681(6)
Programming Exercises
687(2)
12. Web-Based Applications 689(86)
Web-Based Applications
690(5)
Web Programming Model
690(1)
Static Pages
691(3)
Dynamic Pages
694(1)
ASP.NET
695(5)
IIS
696(4)
Web Forms Page
700(7)
Creating a Web Page Using Visual Studio .NET
700(7)
Controls
707(12)
HTML Controls
707(6)
HTML Server Controls
713(6)
Web Forms Server Controls
719(8)
Available Web Forms Controls
719(2)
Web Forms Controls of the Common Form Type
721(3)
Adding Common Form-Type Controls
724(3)
Validation, Custom, and Composite Controls
727(18)
Validation Controls
727(3)
Calendar Control
730(6)
DataGrid Control
736(8)
Other Controls
744(1)
Other IDEs
745(1)
Web Services
745(14)
Web Services Protocols
746(2)
Building a Web Service
748(6)
Using or Consuming Web Services
754(5)
Smart Device Applications (optional)
759(7)
The .NET Compact Framework
759(1)
Creating a Smart Device Application
760(6)
Quick Review
766(2)
Exercises
768(4)
Programming Exercises
772(3)
APPENDIX A Compiling and Running an Application from the Command Line 775(8)
Command-Line Execution
775(6)
Compiling the Source Code from the DOS Command Prompt
776(2)
Setting the Path to the Compiler (csc)
778(2)
Compiling Program Statements from the Visual Studio .NET Command Prompt
780(1)
Executing the Application from the Command Prompt
781(1)
Compiler Options
781(1)
Other Platforms
782(1)
APPENDIX B Visual Studio Configuration 783(8)
Customizing the Development Environment
783(1)
Environment
784(2)
Text Editor
786(2)
Debugging
788(1)
Other Options Settings
788(3)
APPENDIX C Character Sets 791(2)
APPENDIX D Operator Precedence 793(1)
APPENDIX E C# Keywords 794(1)
GLOSSARY 795(14)
INDEX 809

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program