使用 C# 的设计模式 [英] Design Patterns with C#

查看:26
本文介绍了使用 C# 的设计模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划在工作中学习 C# - 一个中等复杂(2000 行代码)的项目.我有兴趣在此过程中学习设计模式".

谁能推荐一本不需要太多 C# 专业知识并教授设计模式的书?如果这本书不是专门讨论设计模式的(它可以是其中的一章).

解决方案

Head First Design Patterns

一本好书一>.易于理解和遵循,读起来很有趣.

GoF 书籍是一切的起点,但我发现它很干,很难掌握.不是我推荐的学习内容.

示例是用 Java 编写的,但概念翻译得很好.

您甚至可以获得 C# 示例.

I am planning to learn C# on the job - a moderately complex (2000 lines of code) project. I am interested in picking up "design patterns" along the way.

Can anyone suggest a book that doesn't assume too much of c# expertise and teaches design patterns? It's ok if the book is not devoted to design patterns (it could be one of the chapters).

解决方案

An excellent book is Head First Design Patterns. Easy to understand and follow and a fun read.

The GoF book is where it all started, but I found it very dry and difficult to grasp. Not what I would recommend for learning.

Examples are in Java, but the concepts translate well.

You can even get C# examples.

这篇关于使用 C# 的设计模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆