C# 3.0 Design Patterns: Use the Power of C# 3.0 to Solve Real-World Problems

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

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
4 stars
3 stars
2 stars
1 star

LibraryThing Review

User Review  - mbellati - www.librarything.com

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

User Review - Flag as inappropriate

A very organised book, simple to understand and learn and remember the patterns..this is the one. Thanks.


Decorator Proxy and Bridge
Composite and Flyweight
Adapter and Fašade
Abstract Factory and Builder
Strategy State and Template Method
Chain of Responsibility and Command
Iterator Mediator and Observer
Visitor Interpreter and Memento
The Future of Design Patterns

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