Design Patterns in C#
A Hands-on Guide with Real-World Examples
Authors: Sarcar, Vaskaran
Download source code Free Preview- Contains full implementations of each pattern, along with snapshots of the Solution Explorer views and output
- Presents real-world examples for each pattern
- Uses simple and effective language to convey complex information
Buy this book
- About this book
-
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
Software developers, software testers, and software architects. - Work with each of the design patterns
- About the authors
-
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).
- Table of contents (30 chapters)
-
-
Singleton Pattern
Pages 3-15
-
Prototype Pattern
Pages 17-29
-
Builder Pattern
Pages 31-41
-
Factory Method Pattern
Pages 43-54
-
Abstract Factory Pattern
Pages 55-67
-
Table of contents (30 chapters)
Bibliographic Information
- Bibliographic Information
-
- Book Title
- Design Patterns in C#
- Book Subtitle
- A Hands-on Guide with Real-World Examples
- Authors
-
- Vaskaran Sarcar
- Copyright
- 2018
- Publisher
- Apress
- Copyright Holder
- Vaskaran Sarcar
- eBook ISBN
- 978-1-4842-3640-6
- DOI
- 10.1007/978-1-4842-3640-6
- Edition Number
- 1
- Number of Pages
- XXX, 455
- Number of Illustrations
- 154 b/w illustrations
- Topics