C# 3.0 Design Patterns (Google eBook)

Front Cover
"O'Reilly Media, Inc.", Dec 10, 2007 - Computers - 318 pages
15 Reviews

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.
With C# 3.0 Design Patterns, you learn to make code correct, extensible and efficient to save time up front and eliminate problems later. If your business relies on efficient application development and quality code, you need C# Design Patterns.
  

What people are saying - Write a review

User ratings

5 stars
6
4 stars
4
3 stars
1
2 stars
3
1 star
1

LibraryThing Review

User Review  - deathflame - LibraryThing

Too simple in my opinion... too similar to original GOF Design patterns, without adding more than some syntactic construction. Most examples are too flat and don't teach the purpose and the key point ... Read full review

Review: C# 3.0 Design Patterns

User Review  - Peter - Goodreads

Thumbed through it quickly. Not sure if it would be useful for our students. Looked at this book in January 2013. Read full review

Contents

Decorator Proxy and Bridge
8
Composite and Flyweight
49
Adapter and Façade
74
Abstract Factory and Builder
122
Strategy State and Template Method
139
Chain of Responsibility and Command
164
Iterator Mediator and Observer
188
Visitor Interpreter and Memento
220
The Future of Design Patterns
253
Appendix
259
Bibliography
283
Copyright

Common terms and phrases

Popular passages

Page 18 - Decorator using System; using System. Drawing; using System. Drawing. Drawing2D; using System. Windows. Forms; using System.
Page 26 - C# program consists of one or more compilation units, each contained in a separate source file. When a C# program is compiled, all of the compilation units are processed together. Thus, compilation units can depend on each other, possibly in a circular fashion.
Page 5 - Generics permit classes, structs, interfaces, delegates, and methods to be parameterized by the types of data they store and manipulate.
Page 26 - Namespaces C# programs are organized using namespaces. Namespaces are used both as an "internal" organization system for a program and as an "external" organization system — a way of presenting program elements that are exposed to other programs.
Page 6 - Partial types that allow classes, structs, and interfaces to be broken into multiple pieces stored in different source files for easier development and maintenance...

Bibliographic information