Design patterns

  • Thread starter Thread starter Frazer
  • Start date Start date
I've seen a lot of folks harp on Cooper's book (Design Patterns in C#)
because his Singleton pattern isn't .NET specific. The rest of his
patterns, though, are very good examples, and I still recommend that book.

--- Nick
 
Frazer said:
hi are there any good samples illustrating design patterns in C#?
builder, adapter, facade etc.

Hi Frazer,

I have been learning about the Design Patterns from a C# perspective and
have written a couple of articles that may help you.

http://bdn.borland.com/article/0,1410,32383,00.html covers the
Structural patterns such as builder, adapter and facade that you asked
about.

http://bdn.borland.com/article/0,1410,32049,00.htm covers Creational
patterns

The demo programs that are linked to in the article show annotated
examples and give some notes about the patterns, so these be good for
your desktop while you are becoming familiar with the patterns. ... the
programs were written with Borland's C# IDE so you would have to change
the project file a little to get them to compile I guess. The download
has exe files too.

As I say I am still learning the patterns (and C#). I have found it
really worthwhile thing to do so far, so stick with it.

Barry Mossman
 
excellent resources at:
http://home.earthlink.net/~huston2/dp/patterns.html

This covers a broad array: with samples and diagrams for all of the Gang of
Four patterns, and links to other patterns sites.

Another good place to start:
http://hillside.net/patterns/
This is the patterns home page on the net

As for patterns in C#, there's a couple of books out. The one from Cooper
has been fairly well denounced for being a poor translation from other
languages.
This site has some samples in C#:
http://www.dofactory.com/Patterns/Patterns.aspx

--- Nick
 
Back
Top