Design Patterns in C#: A Hands-on Guide with Real-World Examples

  • 3h 6m
  • Vaskaran Sarcar
  • Apress
  • 2018

Get hands-on experience with each Gang of Four design pattern using C#. For each of the patterns, you’ll see at least one real-world scenario, a coding example, and a complete implementation including output.

In the first part of Design Patterns in C#, you will cover the 23 Gang of Four (GoF) design patterns, before moving onto some alternative design patterns, including the Simple Factory Pattern, the Null Object Pattern, and the MVC Pattern. The final part winds up with a conclusion and criticisms of design patterns with chapters on anti-patterns and memory leaks. By working through easy-to-follow examples, you will understand the concepts in depth and have a collection of programs to port over to your own projects.

Along the way, the author discusses the different creational, structural, and behavioral patterns and why such classifications are useful. In each of these chapters, there is a Q&A session that clears up any doubts and covers the pros and cons of each of these patterns.He finishes the book with FAQs that will help you consolidate your knowledge. This book presents the topic of design patterns in C# in such a way that anyone can grasp the idea.

What You Will Learn

  • Work with each of the design patterns
  • Implement the design patterns in real-world applications
  • Select an alternative to these patterns by comparing their pros and cons
  • Use Visual Studio Community Edition 2017 to write code and generate output

Who This Book Is For

Software developers, software testers, and software architects.

About the Author

Vaskaran Sarcar (ME (Software Engineering), MCA, B Sc. (Math)) is a Senior Software Engineer and Team Lead at HP India PPS R&D Hub Bangalore. He is the author of the books- Java Design Patterns, Interactive Object Oriented Programming in Java, Design Patterns in C#, Operating System: Computer Science Interview Series and C# Basics. He has more than 10 years of teaching and industry experience. He is also a national Gate scholar (2005-2007).

In this Book

  • Singleton Pattern
  • Prototype Pattern
  • Builder Pattern
  • Factory Method Pattern
  • Abstract Factory Pattern
  • Proxy Pattern
  • Decorator Pattern
  • Adapter Pattern
  • Facade Pattern
  • Flyweight Pattern
  • Composite Pattern
  • Bridge Pattern
  • Visitor Pattern
  • Observer Pattern
  • Strategy (Policy) Pattern
  • Template Method Pattern
  • Command Pattern
  • Iterator Pattern
  • Memento Pattern
  • State Pattern
  • Mediator Pattern
  • Chain of Responsibility Pattern
  • Interpreter Pattern
  • Simple Factory Pattern
  • Null Object Pattern
  • MVC Pattern
  • Criticisms of Design Patterns
  • Anti-patterns
  • Sealing the Leaks in Your Applications
  • FAQ
SHOW MORE
FREE ACCESS