YYW'S BLOG 我思故我在

知识的分享就是知识的获得
posts - 73, comments - 272, trackbacks - 4, articles - 0
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

C#

posted @ 2006-12-27 10:10 阿武 阅读(858) | 评论 (5)  编辑 |

     摘要: 在 GoF(Gang of Four) 的23种设计模式中,单件模式(Singleton)、简单工厂模式(Simple Factory)、工厂方法模式(Factory Method)、抽象工厂模式(Abstract Factory)、建造模式(Builder)、原型模式(Prototype)都归属于创建型模式。但其中最让容易让初学者混淆的就是抽象工厂模式和生成器模式。本文将通过一个实例来说明抽象工厂模式与建造都模式之间的区别及它们各自使用的场景。
  阅读全文

posted @ 2006-11-23 22:45 阿武 阅读(1680) | 评论 (10)  编辑 |

posted @ 2006-11-05 22:01 阿武 阅读(3718) | 评论 (30)  编辑 |

posted @ 2006-10-30 21:12 阿武 阅读(1583) | 评论 (0)  编辑 |

posted @ 2006-10-27 21:47 阿武 阅读(1904) | 评论 (9)  编辑 |

posted @ 2006-09-07 17:31 阿武 阅读(467) | 评论 (0)  编辑 |

posted @ 2006-08-20 17:15 阿武 阅读(659) | 评论 (1)  编辑 |

posted @ 2006-07-30 20:28 阿武 阅读(4103) | 评论 (19)  编辑 |

posted @ 2006-05-17 13:11 阿武 阅读(6804) | 评论 (41)  编辑 |

posted @ 2006-05-13 22:17 阿武 阅读(771) | 评论 (0)  编辑 |

     摘要: 以前写过一个通过计算目录遍历所有文件和子目录的方法来获得某目录下的文件个数,结果发现速度极慢,远远不及系统本身目录属性里边显示的速度。  阅读全文

posted @ 2005-11-04 17:27 阿武 阅读(1492) | 评论 (1)  编辑 |