9780130461322

C# : A Programmer's Introduction

by ; ; ; ; ;
  • ISBN13:

    9780130461322

  • ISBN10:

    0130461326

  • Format: Paperback
  • Copyright: 2002-07-01
  • Publisher: Prentice Hall PTR

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

Purchase Benefits

  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99 Save up to $12.50
  • Buy Used
    $37.49
    Add to Cart Free Shipping

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

An introductory guide to C#. Provides everything you need to know about programming C#. Softcover.

Table of Contents

Illustrations
xix
Preface xxxii
Introduction to .NET and C#
1(20)
Introduction
2(1)
History of the Internet and World Wide Web
2(2)
World Wide Web Consortium (W3C)
4(1)
Extensible Markup Language (XML)
4(1)
Key Software Trend: Object Technology
5(2)
Introduction to Microsoft .NET
7(2)
C#
9(1)
.NET Framework and the Common Language Runtime
9(1)
Tour of the Book
10(7)
Summary
17(2)
Internet and World Wide Web Resources
19(2)
Introduction to the Visual Studio .NET IDE
21(22)
Introduction
22(1)
Visual Studio .NET Integrated Development Environment (IDE) Overview
22(2)
Menu Bar and Toolbar
24(2)
Visual Studio .NET Windows
26(5)
Solution Explorer
26(2)
Toolbox
28(1)
Properties Window
29(2)
Using Help
31(1)
Simple Program: Displaying Text and an Image
32(9)
Summary
41(2)
Introduction to C# Programming
43(28)
Introduction
44(1)
Simple Program: Printing a Line of Text
44(11)
Another Simple Program: Adding Integers
55(4)
Memory Concepts
59(1)
Arithmetic
60(4)
Decision Making: Equality and Relational Operators
64(5)
Summary
69(2)
Control Structures: Part 1
71(40)
Introduction
72(1)
Algorithms
72(1)
Pseudocode
73(1)
Control Structures
73(3)
if Selection Structure
76(1)
if/else Selection Structure
77(5)
while Repetition Structure
82(1)
Formulating Algorithms: Case Study 1 (Counter-Controlled Repetition)
83(3)
Formulating Algorithms with Top-Down, Stepwise Refinement: Case Study 2 (Sentinel-Controlled Repetition)
86(7)
Formulating Algorithms with Top-Down, Stepwise Refinement: Case Study 3 (Nested Control Structures)
93(4)
Assignment Operators
97(1)
Increment and Decrement Operators
98(3)
Introduction to Windows Application Programming
101(7)
Summary
108(3)
Control Structures: Part 2
111(35)
Introduction
112(1)
Essentials of Counter-Controlled Repetition
112(2)
for Repetition Structure
114(4)
Examples Using the for Structure
118(6)
switch Multiple-Selection Structure
124(3)
do/while Repetition Structure
127(3)
Statements break and continue
130(3)
Logical and Conditional Operators
133(5)
Structured-Programming Summary
138(6)
Summary
144(2)
Methods
146(50)
Introduction
147(1)
Methods in C#
147(2)
Math Class Methods
149(1)
Methods
149(2)
Method Definitions
151(11)
Argument Promotion
162(2)
C# Namespaces
164(1)
Value Types and Reference Types
165(1)
Passing Arguments: Pass-by-Value vs. Pass-by-Reference
165(4)
Random-Number Generation
169(7)
Example: Game of Chance
176(5)
Duration of Variables
181(1)
Scope Rules
182(2)
Recursion
184(4)
Example Using Recursion: The Fibonacci Series
188(3)
Recursion vs. Iteration
191(1)
Method Overloading
192(2)
Summary
194(2)
Arrays
196(40)
Introduction
197(1)
Arrays
197(2)
Declaring and Allocating Arrays
199(1)
Examples Using Arrays
200(10)
Allocating an Array and Initializing Its Elements
200(2)
Totaling the Elements of an Array
202(1)
Using Histograms to Display Array Data Graphically
203(1)
Using the Elements of an Array as Counters
204(3)
Using Arrays to Analyze Survey Results
207(3)
Passing Arrays to Methods
210(3)
Passing Arrays by Value and by Reference
213(4)
Sorting Arrays
217(3)
Searching Arrays: Linear Search and Binary Search
220(5)
Searching an Array with Linear Search
220(1)
Searching a Sorted Array with Binary Search
221(4)
Multiple-Subscripted Arrays
225(7)
foreach Repetition Structure
232(1)
Summary
233(3)
Object-Based Programming
236(56)
Introduction
237(1)
Implementing a Time Abstract Data Type with a Class
238(8)
Class Scope
246(1)
Controlling Access to Members
246(2)
Initializing Class Objects: Constructors
248(1)
Using Overloaded Constructors
249(4)
Properties
253(8)
Composition: Objects References as Instance Variables of Other Classes
261(4)
Using the this Reference
265(1)
Garbage Collection
266(2)
static Class Members
268(4)
const and readonly Members
272(3)
Indexers
275(6)
Data Abstraction and Information Hiding
281(1)
Software Reusability
282(1)
Namespaces and Assemblies
283(5)
Class View and Object Browser
288(3)
Summary
291(1)
Object-Oriented Programming: Inheritance
292(37)
Introduction
293(1)
Base Classes and Derived Classes
294(3)
protected and internal Members
297(1)
Relationship between Base Classes and Derived Classes
297(21)
Case Study: Three-Level Inheritance Hierarchy
318(3)
Constructors and Destructors in Derived Classes
321(6)
Software Engineering with Inheritance
327(1)
Summary
328(1)
Exception Handling
329(32)
Introduction
330(1)
Exception Handling Overview
331(3)
Example: DivideByZeroException
334(5)
.NET Exception Hierarchy
339(1)
finally Block
340(8)
Exception Properties
348(5)
Programmer-Defined Exception Classes
353(4)
Handling Overflows with Operators checked and unchecked
357(2)
Summary
359(2)
Graphical User Interface Concepts
361(46)
Introduction
362(1)
Windows Forms
363(3)
Event-Handling Model
366(5)
Delegates
366(1)
Basic Event Handling
367(4)
Control Properties and Layout
371(4)
Labels, TextBoxes and Buttons
375(7)
GroupBoxes and Panels
382(3)
CheckBoxes and RadioButtons
385(9)
PictureBoxes
394(2)
Mouse Event Handling
396(2)
Keyboard Event Handling
398(4)
Visual Inheritance
402(3)
Summary
405(2)
Multithreading
407(10)
Introduction
408(1)
Thread States: Life Cycle of a Thread
409(2)
Thread Priorities and Thread Scheduling
411(5)
Summary
416(1)
Strings and Characters
417(38)
Introduction
418(1)
Fundamentals of Characters and Strings
418(2)
String Constructors
420(1)
String Indexer, Length Property and CopyTo Method
421(2)
Comparing Strings
423(4)
String Method GetHashCode
427(1)
Locating Characters and Substrings in Strings
428(3)
Extracting Substrings from Strings
431(1)
Concatenating Strings
432(1)
Miscellaneous String Methods
433(2)
Class StringBuilder
435(2)
StringBuilder Indexer, Length and Capacity Properties, and EnsureCapacity Method
437(2)
StringBuilder Append and AppendFormat Methods
439(4)
StringBuilder Insert, Remove and Replace Methods
443(3)
Char Methods
446(3)
Card Shuffling and Dealing Simulation
449(4)
Summary
453(2)
Graphics
455(21)
Introduction
456(2)
Graphics Contexts and Graphics Objects
458(1)
Color Control
459(7)
Font Control
466(3)
Drawing Lines, Rectangles and Ovals
469(3)
Loading, Displaying and Scaling Images
472(3)
Summary
475(1)
Files and Streams
476(29)
Introduction
477(1)
Data Hierarchy
477(2)
Files and Streams
479(1)
Creating a Sequential-Access File
480(12)
Reading Data from a Sequential-Access File
492(11)
Summary
503(2)
Database, SQL and ADO .NET
505(33)
Introduction
506(1)
Relational Database Model
507(1)
Relational Database Overview: Books Database
508(7)
Structured Query Language (SQL)
515(11)
Basic Select Query
515(1)
Where Clause
516(3)
Order By Clause
519(4)
Insert Statement
523(1)
Update Statement
524(1)
Delete Statement
525(1)
ADO .NET Object Model
526(1)
Programming with ADO .NET: Extracting Information from a Database
527(9)
Connecting to and Querying an Access Data Source
527(7)
Querying the Books Database
534(2)
Summary
536(2)
ASP .NET, Web Forms and Web Controls
538(19)
Introduction
539(1)
Simple HTTP Transaction
539(3)
System Architecture
542(1)
Creating and Running a Simple Web Form Example
543(12)
Summary
555(1)
Internet and World Wide Web Resources
556(1)
Extensible Markup Language (XML)
557(15)
Introduction
558(1)
XML Documents
558(5)
XML Namespaces
563(3)
Document Object Model (DOM)
566(3)
Summary
569(1)
Internet and World Wide Web Resources
570(2)
ASP .NET and Web Services
572(23)
Introduction
573(1)
Web Services
574(3)
Simple Object Acess Protocol (SOAP) and Web Services
577(2)
Publishing and Consuming Web Services
579(15)
Summary
594(1)
Networking: Streams-Based Sockets
595(15)
Introduction
596(1)
Establishing a Simple Server (Using Stream Sockets)
597(1)
Establishing a Simple Client (Using Stream Sockets)
598(1)
Client/Server Interaction with Stream-Socket Connections
599(9)
Summary
608(2)
FCL Collections
610(23)
Introduction
611(1)
Collection Classes
611(20)
Class Array
611(3)
Class ArrayList
614(7)
Class Stack
621(4)
Class Hashtable
625(6)
Summary
631(2)
Accessibility
633(56)
Introduction
634(1)
Regulations and Resources
635(2)
Web Accessibility Initiative
637(1)
Providing Alternatives for Images
637(2)
Maximizing Readability by Focusing on Structure
639(1)
Accessibility in Visual Studio .NET
639(6)
Enlarging Toolbar Icons
640(1)
Enlarging the Text
641(1)
Modifying the Toolbox
642(1)
Modifying the Keyboard
642(1)
Rearranging Windows
643(2)
Accessibility in C#
645(6)
Accessibility in XHTML Tables
651(4)
Accessibility in XHTML Frames
655(1)
Accessibility in XML
656(1)
Using Voice Synthesis and Recognition with Voice XML™
656(8)
CallXML™
664(5)
JAWS® for Windows
669(1)
Other Accessibility Tools
670(2)
Accessibility in Microsoft® Windows® 2000
672(12)
Tools for People with Visual Impairments
673(2)
Tools for People with Hearing Impairments
675(1)
Tools for Users Who Have Difficulty Using the Keyboard
676(3)
Microsoft Narrator
679(3)
Microsoft On-Screen Keyboard
682(1)
Accessibility Features in Microsoft Internet Explorer 6
683(1)
Summary
684(1)
Internet and Web Resources
685(4)
Mobile Internet Toolkit
689(19)
Introduction
690(1)
Mobile Internet Toolkit Client Devices
690(1)
Mobile Internet Toolkit and Mobile Web Forms
691(16)
Summary
707(1)
Internet and Web Resources
707(1)
A Operator Precedence Chart 708(2)
B Number Systems 710(11)
Introduction
711(3)
Abbreviating Binary Numbers as Octal Numbers and Hexzdecimal Numbers
714(2)
Converting Octal Numbers and Hexadecimal Numbers to Binary Numbers
716(1)
Converting from Binary, Octal or Hexadecimal to Decimal
716(1)
Converting from Decimal to Binary, Octal or Hexadecimal
717(1)
Negative Binary Numbers: Two's Complement Notation
718(1)
Summary
719(2)
C Career Opportunities 721(20)
Introduction
722(1)
Resources for the Job Seeker
723(1)
Online Opportunities for Employers
724(5)
Posting Jobs Online
726(2)
Problems with Recruiting on the Web
728(1)
Diversity in the Workplace
728(1)
Recruiting Services
729(1)
Carrer Sites
730(5)
Comprehensive Career Sites
730(1)
Technical Positions
731(1)
Wireless Positions
731(1)
Contracting Online
732(1)
Executive Positions
733(1)
Students and Young Professionals
734(1)
Other Online Career Services
734(1)
Summary
735(1)
Internet and World Wide Web Resources
736(5)
D Visual Studio .NET Debugger 741(18)
Introduction
742(1)
Breakpoints
743(2)
Examining Data
745(3)
Program Control
748(4)
Additional Method Debugging Capabilities
752(2)
Additional Class Debugging Capabilities
754(3)
Summary
757(2)
E ASCII Character Set 759(1)
F Unicode® 760(11)
Introduction
761(1)
Unicode Transformation Formats
762(1)
Characters and Glyphs
763(1)
Advantages and Disadvantages of Unicode
764(1)
Unicode Consortium's Web Site
764(1)
Using Unicode
765(3)
Character Ranges
768(1)
Summary
769(2)
G Introduction to HyperText Markup Language 4: Part 1 771(20)
Introduction
772(1)
Markup Languages
772(1)
Editing HTML
773(1)
Common Elements
773(3)
Headers
776(1)
Linking
777(2)
Images
779(4)
Special Characters and More Line Breaks
783(2)
Unordered Lists
785(1)
Nested and Ordered Lists
786(3)
Summary
789(1)
Internet and World Wide Web Resources
790(1)
H Introduction to HyperText Markup Language 4: Part 2 791(30)
Introduction
792(1)
Basic HTML Tables
792(2)
Intermediate HTML Tables and Formatting
794(3)
Basic HTML Forms
797(3)
More Complex HTML Forms
800(7)
Internal Linking
807(3)
Creating and Using Image Maps
810(2)
<meta> Tags
812(2)
frameset Element
814(2)
Nested framesets
816(2)
Summary
818(2)
Internet and World Wide Web Resources
820(1)
I HTML Special Characters 821(1)
J HTML Colors 822(3)
K Crystal Reports® for Visual Studio .NET 825(6)
Introduction
825(1)
Crystal Reports Web Site Resources
825(1)
Crystal Reports and Visual Studio .NET
826(5)
Crystal Reports in Web Applications
829(1)
Crystal Reports and Web Services
829(2)
Index 831

Rewards Program

Write a Review