Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

C# Design Patterns: State

via Pluralsight

Overview

Manage State in your application by learning how to use the State Design Pattern in C#. In this course, you will cover a design pattern for handling any situation based on context or state-based changes.

Are you looking for a way to better manage state in your application? Are your methods loaded with complex condition logic that’s hard to follow, debug, and maintain? In this course, C# Design Patterns: State, you will learn a tried and true design pattern for handling any situation in which the behavior of entities in your application changes based on context or state. First, you will explore the concept of state including what it is and its implications for development. Next, you will review some traditional approaches to managing state like if-else statements and switches and examine their strengths and shortcomings. Then, you will be introduced to the State Design Pattern and learn why it exists and when to use it. Finally, you will get hands-on experience implementing the pattern in clean and concise way that you can use in any or all of your applications. When you’ve finished this course, you will have the skills and understanding required to implement this elegant solution to handling state in your applications.

Taught by

Marc Gilbert

Reviews

4.7 rating at Pluralsight based on 147 ratings

Start your review of C# Design Patterns: State

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.