导航

2015年5月31日 #

C# 泛型

摘要: 一、前言首先谈谈泛型,包括Java, C++都有自己的泛型(模版),这种机制大大的减少了代码的数量,是一种类型的抽象。集合就我了解C++的 STL 中的vector, list, map 等, .net 中的List, HashTable等,都是对基本数据结构的实现,如链表,队列,栈,等。但是在具体... 阅读全文

posted @ 2015-05-31 16:36 水中游 阅读(141) 评论(0) 推荐(0) 编辑

2015年5月30日 #

C# 值类型 与引用类型

摘要: 前言一般来说,值类型存于栈,引用类型存在于堆,值类型转化为引用类型叫Box, 引用类型转为值类型在Unbox, 最近看了一本书发现值类型与引用类型的知识远不止这些。我发现在一下几点我的理解一直是错误的:错误1. struct是值类型,它与System.Object没有任何关系。struct 直接基类... 阅读全文

posted @ 2015-05-30 21:56 水中游 阅读(179) 评论(0) 推荐(0) 编辑

2015年1月20日 #

DDD - 业务规则

摘要: http://www.infoq.com/cn/articles/ddd-in-practice1. Business rules are an important part of the business domain. They define data validation and other ... 阅读全文

posted @ 2015-01-20 17:30 水中游 阅读(412) 评论(0) 推荐(0) 编辑

2014年8月13日 #

优先队列

摘要: 许多应用程序都需要处理有序的元素,但不一定要求全部有序。一个合适的数据结构应该支持两种操作:删除最大元素和插入元素。 1 #include 2 #include 3 using namespace std; 4 5 6 struct node 7 { 8 int priority; ... 阅读全文

posted @ 2014-08-13 22:36 水中游 阅读(144) 评论(0) 推荐(0) 编辑

2014年5月26日 #

reading mind.

摘要: with a poisoned dagger, chump! 让毒匕首跟你说, 笨蛋。Yeah, I got it, but I gotta get it gone! 我是有,但我现在不要了。Relax, I'm making some modifications to my helmet. 放松,... 阅读全文

posted @ 2014-05-26 21:37 水中游 阅读(119) 评论(0) 推荐(0) 编辑

2014年5月25日 #

无向图

摘要: Agraphis a set ofverticesand a collection ofedgesthat each connect a pair of vertices. We use the names 0 through V-1 for the vertices in a V-vertex g... 阅读全文

posted @ 2014-05-25 22:13 水中游 阅读(206) 评论(0) 推荐(0) 编辑

Kung Fu Panda: Legends of Awesomeness 2

摘要: Raised in a noodle shop, 在面馆长大Never seeking glory of fame, 从未相当大侠He climbed a mountaintop, 一朝登的凌绝顶And earned the Dragon Warrior name 神龙之名冠天下Master Shi... 阅读全文

posted @ 2014-05-25 21:45 水中游 阅读(287) 评论(0) 推荐(0) 编辑

2014年5月23日 #

好文章集合

摘要: .NEThttp://csharp.2000things.com/index/http://wpf.2000things.com/http://www.dotnetrocks.com/http://wpftutorial.net/HowToCreateACustomControl.htmlLearn... 阅读全文

posted @ 2014-05-23 13:06 水中游 阅读(91) 评论(0) 推荐(0) 编辑

2014年5月18日 #

WPF:布局

摘要: Overview:Layout is the critcal component of an application's usability on a wide range of devices.Layout process:WPF layout takes place in two stages:... 阅读全文

posted @ 2014-05-18 23:11 水中游 阅读(218) 评论(0) 推荐(0) 编辑

2014年5月14日 #

类与对象

摘要: 阅读全文

posted @ 2014-05-14 21:09 水中游 阅读(107) 评论(0) 推荐(0) 编辑