Design Patterns in C#: A Hands-on Guide with Real-World Examples
暫譯: C# 設計模式:實務指南與真實案例

Vaskaran Sarcar

買這商品的人也買了...

相關主題

商品描述

Get 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.
 
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. 
 

 

商品描述(中文翻譯)

獲得使用最新版本的 C#(Visual Studio Community 2017)實作每個 Gang of Four 設計模式的實際經驗。對於每個模式,您將看到至少一個真實世界的場景、一個程式碼範例,以及一個完整的實作,包括輸出結果。

在《C# 設計模式》的第一部分中,您將涵蓋 23 種 Gang of Four (GoF) 設計模式,然後轉向一些替代設計模式,包括簡單工廠模式、空物件模式和 MVC 模式。最後一部分總結了設計模式的結論和批評,並包含有關反模式和記憶體洩漏的章節。通過易於跟隨的範例,您將深入理解這些概念,並擁有一系列可以移植到自己專案中的程式。

在此過程中,作者討論了不同的創建型、結構型和行為型模式,以及這些分類為何有用。在每一章中,都有一個問答環節,解答任何疑問並涵蓋這些模式的優缺點。書的最後以常見問題解答結束,幫助您鞏固知識。本書以易於理解的方式介紹 C# 中的設計模式,使任何人都能掌握這一概念。

您將學到的內容:
- 使用每個設計模式
- 在真實世界的應用中實作設計模式
- 通過比較優缺點選擇這些模式的替代方案
- 使用 Visual Studio Community Edition 2017 編寫程式碼並生成輸出

本書適合對象:
軟體開發人員、軟體測試人員和軟體架構師。