摘要: using System; namespace FactoryMethod{ abstract class AbstractCar { public abstract void Startup(); public abstract void Run(); public abstract void Turn(); public abstract void Stop(); } abstra... 阅读全文
posted @ 2006-03-05 21:14 kuailewangzi1212 阅读(113) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Configuration; namespace Builder{ public abstract class House { } public abstract class Windows { } public abstract class Wall { } public abstract class Floor { } public abs... 阅读全文
posted @ 2006-03-05 19:30 kuailewangzi1212 阅读(150) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Windows.Forms;namespace Factory{ public abstract class Road {} public abstract class Builld {} public abstract class Tunnel {} public abstract class Jungle {} public abstract... 阅读全文
posted @ 2006-03-05 18:10 kuailewangzi1212 阅读(155) 评论(0) 推荐(0) 编辑