尝试下NullObject模式
摘要:
using System;using System.Collections; public class DB{private static ArrayList list = new ArrayList();public static void AddEmp(string name){list.Add(new Employee(name));}public static IEmployee Se... 阅读全文
posted @ 2007-01-02 21:29 flyingchen 阅读(435) 评论(0) 推荐(0) 编辑