摘要: //在对 Dictionary 作 foreach 操作的时候,不可以作 Remove() 操作。 public Dictionary stateItem; private void resetState() { Dictionary.KeyCollection itemColl = stateItem.Keys; string[] itemList = n... 阅读全文
posted @ 2008-01-19 12:15 老大卫 阅读(185) 评论(0) 推荐(0) 编辑
摘要: compose : ◆-------- 组成关系 例如:书◆-------文章 aggregate : ◇-------- 聚合关系 例如:读者◇---- 书 阅读全文
posted @ 2008-01-19 12:05 老大卫 阅读(1565) 评论(0) 推荐(0) 编辑