Difference between Factory Method and Abstract Factory design patterns using C#.Net
- by nijhawan.saurabh
First of all I'll just put both these patterns in context
and describe their intent as in the GOF book:
Factory Method:
Define an interface
for creating an object, but let subclasses decide which class
to instantiate.
Factory Method lets a class defer instantiation to subclasses.
Abstract Factory:
Provide an interface
for creating…