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.
Publisher resources
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
Pro C# 5.0 and the .NET 4.5 Framework, Sixth Edition
This new edition of Pro C# 5.0 and the .NET 4.5 Platform has been completely revised …
video
C# and .NET for Object-Oriented Programmers
How to use C# in conjunction with object-oriented design principles.
book
Inside ASP.NET
Inside ASP.NET provides experienced software and web developers with accurate and concise information on the technologies …
book
Introducing .NET 4.5
Microsoft has introduced a large number of changes to the way that the .NET Framework operates. …