Home Page Icon
Home Page
Table of Contents for
Part I: Getting Started
Close
Part I: Getting Started
by Jack Purdum
Beginning Object-Oriented Programming with C#
Cover
Part I: Getting Started
Chapter 1: Introducing C#
A Short History of Object-Oriented Programming (OOP)
Installing C#
A Test Program Using C#
Summary
Chapter 2: Understanding Objects
Understanding Objects
Getting Started with Objects
Developing a Program Plan
Creating a Simple Application Using Objects
Using C# to Implement Your Program Plan
Summary
Part II: Understanding C# Syntax
Chapter 3: Understanding Data Types
Computer Data
Floating-Point Data Types
Monetary Values: The Decimal Data Type
Using IntelliSense to Locate Program Errors
The Boolean Data Type
Summary
Chapter 4: Understanding C# Statements
Basic Building Blocks of a Programming Language
Defining Variables
Using a Variable in a Program
The Bucket Analogy
Types of Program Errors
The Visual Studio Debugger
Using the Visual Studio Debugger
Defensive Coding
Summary
Chapter 5: Understanding Reference Data Types
String Variables
Using String Variables
Datetime Reference Objects
Summary
Chapter 6: Making Decisions in Code
Relational Operators
Logical Operators
The switch Statement
Summary
Chapter 7: Statement Repetition Using Loops
Program Loops
Nested for Loops
While Loops
do-while Program Loops
The Continue Statement
Summary
Chapter 8: Understanding Arrays and Collections
What Is an Array?
The ListView Object
Arrays Are Objects
Multidimensional Arrays
Initializing Arrays
Collections
ArrayList Objects
Summary
Part III: Writing Your Own Classes
Chapter 9: Designing Classes
Class Design
Designing a Program
UML Light
The clsDates Design
User Interfaces Versus User Interfaces
Summary
Chapter 10: Designing and Writing Custom Classes
Constructors
Property Methods
What to Do if an Error Occurs in a Property Method
Class Design for Deck-of-Cards Program
Designing a Card Game Using clsCardDeck
Summary
Chapter 11: Exception Handling and Debugging
Overview
Input Errors
Exception Handling
Program Debugging
Summary
Chapter 12: Generics
What Are Generics?
Introduction to Generics
Generic Quicksort
Summary
Part IV: Storing Data
Chapter 13: Using Disk Data Files
Directories
File Class
FileInfo Class
Types of Files
Sequential Versus Random Access Files
Serialization and Deserialization
MDI, Menus, and File Dialogs
Summary
Chapter 14: Using Databases
What Is a Database?
Creating Your Own Databases
Using SQL
A DBMS System
Summary
Chapter 15: Using LINQ
Using LINQ
Summary
Part V: Advanced Topics
Chapter 16: Inheritance and Polymorphism
What Is Inheritance?
Polymorphism
Extension Methods
Summary
Chapter 17: Printing and Threading
Using a Printer
Threading
Refactoring
Summary
Chapter 18: Web Programming
Static Web Pages
Dynamic Web Pages
Summary
Appendix: Answers to Exercises
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
Introduction
Who This Book Is For
What This Book Covers
How This Book Is Structured
What You Need to Use This Book
Conventions
Source Code
Errata
p2p.wrox.com
Advertisement
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Table of Contents
Next
Next Chapter
Chapter 1: Introducing C#
Part I
Getting Started
Chapter 1:
Introducing C#
Chapter 2:
Understanding Objects
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset