Click here to Skip to main content
15,886,774 members
Articles / Programming Languages / C#

Design Patterns Part 2 - The Factory Pattern

Rate me:
Please Sign up or sign in to vote.
4.80/5 (74 votes)
8 Feb 2010CPOL10 min read 129.6K   1.2K   153  
The second part in WebBiscuit's design pattern series, this one examining the factory pattern. We look at an example of coping with ever-changing requirements by programming to interfaces and allowing the factory pattern to decide on the implementation.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Web Biscuit
United Kingdom United Kingdom
At Web Biscuit, you can find software, articles, a good dollop of quality and an unhealthy obsession over biscuits.
Website: http://www.webbiscuit.co.uk
Twitter Watch: http://twitter.com/WebBiscuitCoUk

Comments and Discussions