Lecture overview -- Keyboard shortcut: 'u'  Previous page: Factory design patterns  -- Keyboard shortcut: 'p'  Next page: The design pattern Abstract Factory -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 35 : 41
Object-oriented Programming in C#
Abstract classes, Interfaces, and Patterns
The design pattern Factory Method

Subclasses of Creator decide which Product to instantiate

A template of the class structure in the Factory Method design pattern.

/user/normark/oop-csharp-1/sources/c-sharp/patterns/factory-method/template-prog.csIllustration of Factory Method in C#.