工厂模式
摘要:
using System;using System.Collections.Generic;using System.Text;//工厂模式namespace designMode{ class LeiFeng { public void Sweep() { Console.WriteLine("扫地"); } public void Wash() { Console.WriteLine("洗衣"); } public void BuyRice() { Console.WriteLine("买米"); } } class Underg 阅读全文
posted @ 2011-08-01 23:40 cjingzm 阅读(256) 评论(0) 推荐(0)
浙公网安备 33010602011771号