Book Image

Design Patterns Using C# and .NET Core [Video]

By : Dimitiris Loukas
Book Image

Design Patterns Using C# and .NET Core [Video]

By: Dimitiris Loukas

Overview of this book

Design patterns are reusable solutions to common programming problems. They speed up the development process by providing tested, proven development paradigms. This course starts at the nuts-and-bolts level and shows you everything through to advanced patterns and features, going in-depth to give you the knowledge you need. You will begin this course with an introduction to SOLID principles, which will introduce you to clean-code concepts and will elevate your skills. With this knowledge in your toolbox, you will be ready to move on to studying creational design patterns, patterns related to the creation of objects, such as Singleton, Factory, and Dependency Injection. You will then acquire more in-depth knowledge of one specific creational pattern, the Dependency Inversion pattern, which will teach you how to write highly extensible, maintainable, and testable code. Moving on, you will get your hands dirty with structural design patterns and you will complete this course by learning the last group of patterns: behavioral design patterns. By the end of this course you will be very confident in implementing a new feature in C# and .NET Core because, every time you have a problem, the correct design pattern will spontaneously come to mind. This course uses .NET Core 2.0, and VS2017 community edition+, while not the latest version available, it provides relevant and informative content for legacy users of .NET Core, and Visual Studio.
Table of Contents (5 chapters)
Chapter 4
Structural Design Patterns
Content Locked
Section 4
The Composite Pattern
We want to provide a way to iterate through decks of cards as well as decks of decks. - Describe the composite pattern - Create a common IComposite interface