Only Doyle's C# PROGRAMMING: FROM PROBLEM ANALYSIS TO PROGRAM DESIGN, 4E brilliantly balances today's most important programming principles and concepts with the latest insights into C#. This perfect introductory book highlights the latest Visual Studio 2012 and C# 4.0 with a unique, principles-based approach to give readers a deep understanding of programming. You'll find just the right amount of detail to create an important foundation in programming. This edition's straightforward approach and understandable vocabulary make it easier for readers to grasp new programming concepts without distraction. The book introduces a variety of fundamental programming concepts, from data types and expressions to arrays and collections, all using the popular C# language. New programming exercises and new numbered examples throughout this edition reflect the latest updates in Visual Studio 2012, while learning objectives, case studies and Coding Standards summaries in each chapter ensure mastery. While the book assumes no prior programming knowledge, coverage extends beyond traditional books to cover new advanced topics, such as portable class libraries used to create applications for Windows Phone and other platforms.
Author(s): Barbara Doyle
Edition: 4
Publisher: Cengage Learning
Year: 2013
Language: English
Pages: 1146
Cover
Title Page
Copyright
Brief Contents
Table of Contents
Preface
Ch 1: Introduction to Computing and Programming
History of Computers
System and Application Software
Software Development Process
Programming Methodologies
Evolution of C# and .NET
Why C#?
Types of Applications Developed with C#
Exploring the First C# Program
Elements of a C# Program
Compiling, Building, and Running an Application
Debugging an Application
Creating an Application
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 2: Data Types and Expressions
Data Representation
Memory Locations for Data
Types, Classes, and Objects
Predefined Data Types
Integral Data Types
Floating-Point Types
Decimal Types
Boolean Variables
Declaring Strings
Making Data Constant
Assignment Statements
Order of Operations
Formatting Output
Width Specifier
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 3: Methods and Behaviors
Anatomy of a Method
Calling Class Methods
Predefined Methods
Writing Your Own Class Methods
Types of Parameters
Named and Optional Parameters
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 4: Creating Your Own Classes
The Object Concept
Constructor
Writing Your Own Instance Methods
Calling Instance Methods
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 5: Making Decisions
Boolean Expressions
Conditional Expressions
if...else Selection Statements
Switch Selection Statements
Ternary Operator ? :
Order of Operations
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 6: Repeating Instructions
Why Use a Loop?
Using the While Statement
Using the for Statement Loop
Using the Foreach Statement
Using the Do...while Structure
Nested Loops
Recursive Calls
Unconditional Transfer of Control
Deciding Which Loop to Use
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 7: Arrays
Array Basics
Array Declaration
Array Access
Array Class
Arrays as Method Parameters
Arrays in Classes
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 8: Advanced Collections
Two-Dimensional Arrays
Multidimensional Arrays
ArrayList Class
String Class
Other Collection Classes
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 9: Introduction to Windows Programming
Contrasting Windows and Console Applications
Graphical User Interfaces
Elements of Good Design
Using C# and Visual Studio to Create Windows-Based Applications
Windows Forms
Controls
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 10: Programming Based on Events
Delegates
Event Handling in C#
ListBox Control Objects
ComboBox Control Objects
MenuStrip Control Objects
CheckBox and RadioButton Objects
Windows Presentation Foundation (WPF)
TabControl Objects
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 11: Advanced Object-Oriented Programming Features
Object-Oriented Language Features
Component-Based Development
Inheritance
Making Stand-Alone Components
Abstract Classes
Sealed Classes
Partial Classes
Interfaces
Polymorphism
Generics
Dynamic
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 12: Debugging and Handling Exceptions
Errors
Exceptions
Exception-Handling Techniques
Exception Classes
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 13: Working with Files
System.IO Namespace
File and Directory Classes
File Streams
BinaryReader and BinaryWriter Classes
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 14: Working with Databases
Database Access
ADO.NET
Data Source Configuration Tools
Language-Integrated Query (LINQ)
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Ch 15: Web-Based Applications
Web-Based Applications
ASP.NET
Web Forms Page
Controls
Web Forms Standard Server Controls
Validation, Custom, and Composite Controls
Web Services
Smart Device Applications (Optional)
Windows 7.x Phone
Windows 8 Phone Apps
Coding Standards
Resources
Quick Review
Exercises
Programming Exercises
Appendix A: Visual Studio Configuration
Customizing the Development Environment
Appendix B: Code Editor Tools
Code Snippets
Refactoring
Working with Class Diagrams
Appendix C: Character Sets
Appendix D: Operator Precedence
Appendix E: C# Keywords
Glossary
Index