When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

pluralsight logo

C# Design Patterns: State

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.

     
  • 4
  •  |
  • Reviews ( 193 )
Free

This Course Includes

  • iconpluralsight
  • icon4 (193 reviews )
  • icon43 minutes
  • iconenglish
  • iconOnline - Self Paced
  • iconcore courses
  • iconpluralsight

About C# Design Patterns: State

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.

What You Will Learn?

  • Course Overview : 1min.
  • The State Design Pattern : 42mins.