EVERYDAY FREE SHIPPING on $25 & up - Excludes marketplace items & rentals.
EVERYDAY FREE SHIPPING on $25 & up - Excludes marketplace items & rentals.
EVERYDAY FREE SHIPPING on $25 & up - Excludes marketplace items & rentals
Search
C# Design Patterns : A Tutorial / With CD

C# Design Patterns : A Tutorial / With CD - 03 edition

ISBN13: 978-0201844535

Cover of C# Design Patterns : A Tutorial / With CD 03 (ISBN 978-0201844535)
ISBN13: 978-0201844535
ISBN10: 0201844532
Cover type: Paperback
Edition/Copyright: 03
Publisher: Addison-Wesley Longman, Inc.
Published: 2003
International: No

List price: $69.99

new
Sold Out
FREE Shipping on $25+
  • Check back soon!
  • 30-Day Returns
  • Condition: New
Sold Out
rental
$9.99
Save $60.00 (86%)


Ships from $5.99
  • Free Return Shipping
  • Due back 12/18/2015
  • CDs or access codes
    may not be included
More Shipping Options

C# Design Patterns : A Tutorial / With CD - 03 edition

ISBN13: 978-0201844535

James William Cooper

ISBN13: 978-0201844535
ISBN10: 0201844532
Cover type: Paperback
Edition/Copyright: 03
Publisher: Addison-Wesley Longman, Inc.

Published: 2003
International: No
Summary

This is a practical book that explains how to write C# programs using some of the most common design patterns. With the release of C# and Visual Studio .NET, there is a new interest in the Microsoft development community in some of the OO world's key tools, such as UML and Design Patterns, which they had neglected before. The book covers every pattern identified in Gamma et al's Design Patterns which can be executed in C#. For each pattern, it starts with a brief verbal description, and then builds simple example programs. Each of these examples is a visual program that can be run and examined to make the pattern as concrete a concept as possible. All of the examples will be on the companion CD. The emphasis is on the practical ways to use these patterns to ease the developer's day to day work. This book should be well timed for the growing number of developers who have learned the basics of C#, and now want information on how to get the most out of C# in their real-world application development.

Author Bio

Cooper, James W. : IBM Thomas J. Watson Research Center

James W. Cooper is a research staff member in the Advanced Information Retrieval and Analysis Department at the IBM Thomas J. Watson Research Center. He is also a columnist for Java Pro magazine and a reviewer for Visual Basic Programmer's Journal. He has published 14 books, which include Principles of Object-Oriented Programming Using Java 1.1 (Ventana) and The Visual Basic Programmer's Guide to Java (Ventana).

Table of Contents

Preface.Acknowledgments.

I. OBJECT-ORIENTED PROGRAMMING IN C#. 1. What Are Design Patterns?Defining Design Patterns.The Learning Process.Studying Design Patterns.Notes on Object-Oriented Approaches.C# Design Patterns.How This Book Is Organized.2. Syntax of the C# Language.Data Types.Converting between Numbers and Strings.Declaring Multiple Variables.Numeric Constants.Character Constants.Variables.Declaring Variables as You Use Them.Multiple Equals Signs for Initialization.A Simple C# Program.Arithmetic Operators.Increment and Decrement Operators.Combining Arithmetic and Assignment Statements.Making Decisions in C#.Comparison Operators.Combining Conditions.The Most Common Mistake.The Switch Statement.C# Comments.The Ornery Ternary Operator.Looping Statements in C#.The While Loop.The Do-While Statement.The For Loop.Declaring Variables as Needed in For Loops.Commas in For Loop Statements.How C# Differs from C.How C# Differs from Java.Summary.3. Writing Windows C# Programs.Objects in C#.Managed Languages and Garbage Collection.Classes and Namespaces in C#.Building a C# Application.The Simplest Window Program in C#.Windows Controls.Labels.TextBox.CheckBox.Buttons.Radio Buttons.ListBoxes and ComboBoxes.The Items Collection.Menus.ToolTips.The Windows Controls Program.Summary.Programs on the CD-ROM.4. Using Classes and Objects in C#.What Do We Use Classes For?A Simple Temperature Conversion Program.Building a Temperature Class.Converting to Kelvin.Putting the Decisions into the Temperature Class.Using Classes for Format and Value Conversion.Handling Unreasonable Values.A String Tokenizer Class.Classes as Objects.Class Containment.Initialization.Classes and Properties.Programming Style in C#.Delegates.Indexers.Operator Overloading.Summary.Programs on the CD-ROM.5. Inheritance.Constructors.Drawing and Graphics in C#.Using Inheritance.Namespaces.Creating a Square from a Rectangle.Public, Private, and Protected.Overloading.Virtual and Override Keywords.Overriding Methods in Derived Classes.Replacing Methods Using New.Overriding Windows Controls.Interfaces.Abstract Classes.Comparing Interfaces and Abstract Classes.Summary.Programs on the CD-ROM.6. UML Diagrams.Inheritance.Interfaces.Composition.Annotation.WithClass UML Diagrams.C# Project Files.7. Arrays, Files, and Exceptions in C#.Arrays.Collection Objects.ArrayLists.Hashtables.SortedLists.Exceptions.Multiple Exceptions.Throwing Exceptions.File Handling.The File Object.Reading a Text File.Writing a Text File.Exceptions in File Handling.Testing for End of File.A csFile Class.Program on the CD-ROM.

II. CREATIONAL PATTERNS. 8. The Simple Factory Pattern.How a Simple Factory Works.Sample Code.The Two Derived Classes.Building the Simple Factory.Using the Factory.Factory Patterns in Math Computation.Summary.Thought Questions.Programs on the CD-ROM.9. The Factory Method.The Swimmer Class.The Events Classes.StraightSeeding.CircleSeeding.Our Seeding Program.Other Factories.When to Use a Factory Method.Thought Question.Program on the CD-ROM.10. The Abstract Factory Pattern.A GardenMaker Factory.The PictureBox.Handling the RadioButton and Button Events.Adding More Classes.Consequences of Abstract Factory.Thought Question.Program on the CD-ROM.11. The Singleton Pattern.Creating Singleton Using a Static Method.Exceptions and Instances.Throwing the Exception.Creating an Instance of the Class.Providing a Global Point of Access to a Singleton.Other Consequences of the Singleton Pattern.Programs on the CD-ROM.12. The Builder Pattern.An Investment Tracker.The Stock Factory.The CheckChoice Class.The ListboxChoice Class.Using the Items Collection in the ListBox Control.Plotting the Data.The Final Choice.Consequences of the Builder Pattern.Thought Questions.Program on the CD-ROM.13. The Prototype Pattern.Cloning in C#.Using the Prototype.Cloning the Class.Using the Prototype Pattern.Dissimilar

More Shipping Options