Unlock the secrets of object creation in C#. Learn how creational design patterns can boost flexibility, efficiency, and code reuse, helping you manage complex object lifecycles with ease. Elevate your coding skills by mastering these foundational patterns.
Overview
Syllabus
- Lesson 1: Understanding the Singleton Pattern in C#
- Enhancing the Logger Singleton with a Message Counter
- Including Severity Levels to Logger
- Singleton Pattern for MusicPlayer in C#
- Implementing a Singleton Logger Class in C#
- Lesson 2: Understanding the Factory Method Pattern
- Adding a PdfDocument Using the Factory Method
- Creating a Musical Instrument System
- Factory Method Pattern with Vehicle Classes
- Implementing the Factory Method for Notifications
- Lesson 3: Exploring Abstract Factory in C#
- Adding Linux Style to Abstract Factory Pattern
- Gaming Setup using Abstract Factory Pattern
- Implementing Abstract Factory for MobileApplication
- Creating an Abstract Factory Pattern for Space Missions
- Implement a Drawing Application with Abstract Factory
- Lesson 4: Discovering the Builder Pattern
- Create a BrickHouse Using Builder Pattern
- Building a Wooden House with the Builder Pattern
- Creating a Steel Robot Builder
- Full Implementation of the Builder Pattern
- Lesson 5: Applying Creational Patterns in a Banking System
- Singleton Logger and Account Factories
- Building a Banking Application with Creational Patterns
- Writing a Customer Database with Builders