Book description
If you want to speed up the development of your .NET applications, you're ready for C# design patterns -- elegant, accepted and proven ways to tackle common programming problems. This practical guide offers you a clear introduction to the classic object-oriented design patterns, and explains how to use the latest features of C# 3.0 to code them.
C# Design Patterns draws on new C# 3.0 language and .NET 3.5 framework features to implement the 23 foundational patterns known to working developers. You get plenty of case studies that reveal how each pattern is used in practice, and an insightful comparison of patterns and where they would be best used or combined. This well-organized and illustrated book includes:
- An explanation of design patterns and why they're used, with tables and guidelines to help you choose one pattern over another
- Illustrated coverage of each classic Creational, Structural, and Behavioral design pattern, including its representation in UML and the roles of its various players
- C# 3.0 features introduced by example and summarized in sidebars for easy reference
- Examples of each pattern at work in a real .NET 3.5 program available for download from O'Reilly and the author's companion web site
- Quizzes and exercises to test your understanding of the material.
Table of contents
-
C# 3.0 Design Patterns
- SPECIAL OFFER: Upgrade this ebook with OâReilly
- A Note Regarding Supplemental Files
- Foreword
- Preface
- 1. C# Meets Design Patterns
- 2. Structural Patterns: Decorator, Proxy, and Bridge
- 3. Structural Patterns: Composite and Flyweight
- 4. Structural Patterns: Adapter and Façade
- 5. Creational Patterns: Prototype, Factory Method, and Singleton
- 6. Creational Patterns: Abstract Factory and Builder
- 7. Behavioral Patterns: Strategy, State, and Template Method
- 8. Behavioral Patterns: Chain of Responsibility and Command
- 9. Behavioral Patterns: Iterator, Mediator, and Observer
- 10. Behavioral Patterns: Visitor, Interpreter, and Memento
- 11. The Future of Design Patterns
-
A. Appendix
- Pluggable Adapter Pattern Example CodeâCoolBook
- Prototype Pattern Example CodeâPhoto Archive
- Iterator Pattern Example CodeâFamily Tree
- Observer Pattern Example CodeâBlogs
- Visitor Pattern Theory CodeâReflection
- Interpreter Pattern Example CodeâCourse Rules
- Interpreter Pattern Example CodeâMirrors
- Bibliography
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OâReilly
Product information
- Title: C# 3.0 Design Patterns
- Author(s):
- Release date: December 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596551445
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
High-Performance Programming in C# and .NET
Enhance your applications' performance using best practices for benchmarking, application profiling, asynchronous programming, designing responsive UIs, …
book
CLR via C#, Fourth Edition
Dig deep and master the intricacies of the common language runtime, C#, and .NET development. Led …