: Vaskaran Sarcar
: Design Patterns in C# A Hands-on Guide with Real-World Examples
: Apress
: 9781484236406
: 1
: CHF 47.00
:
: Informatik
: English
: 465
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF
G t hands-on experience with each Gang of Four design pattern using the latest version of C# (Visual Studio Community 2017). For each of the patterns, you'll see at least one real-world scenario, a coding example, and a complete implementation including output.

< iv>In the first part ofDesign 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. 

/b>
What You Will Learn
  • W rk with each of the design patterns
  • Implemen the design patterns in real-world applications
  • Sele t 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

/b>
Software developers, software testers, and software architects. 
< r>



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 SeriesandC# Basics. He has more than 10 years of teaching and industry experience. He is also a national Gate scholar (2005-2007).
Table of Contents5
About the Author19
About the Technical Reviewers20
Acknowledgments21
Foreword22
Preface24
Guidelines for Using This Book26
Part I: Gang of Four Design Patterns28
I.A: Creational Patterns29
Chapter 1: Singleton Pattern31
GoF Definition31
Concept31
Real-Life Example31
Computer World Example31
Illustration32
Class Diagram32
Solution Explorer View33
Discussion33
Implementation34
Output35
Challenges36
Q36
3736
Chapter 2: Prototype Pattern42
GoF Definition42
Concept42
Real-Life Example42
Computer World Example42
Illustration43
Class Diagram43
Directed Graph Document45
Solution Explorer View45
Implementation47
Output49
Q49
5049
Demonstration52
Output54
Chapter 3: Builder Pattern55
GoF Definition55
Concept55
Real-Life Example56
Computer World Example56
Illustration56
Class Diagram57
Solution Explorer View57
Implementation58
Output63
Q63
6363
Chapter 4: Factory Method Pattern66
GoF Definition66
Concept66
Real-Life Example66
Computer World Example67
Illustration67
Class Diagram67
Directed Graph Document68
Solution Explorer View68
Implementation69
Output72
Modified Implementation72
Modified Output74
Analysis74
Q74
7474
Chapter 5: Abstract Factory Pattern78
GoF Definition78
Concept78
Real-Life Example79
Computer World Example79
Illustration79
Class Diagram81
Solution Explorer Vi