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 together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Abstract classes, Interfaces, and Patterns - slide 35 : 41

The design pattern Factory Method
Subclasses of Creator decide which Product to instantiate
template-prog.cs
Illustration of Factory Method in C#.