摘要:
17.1 在NBA我需要翻译! 17.2 适配器模式 Adapter,将一个类的接口转换成客户希望的另外一个接口,Adapter模式使得原本由于接口不兼容而不能一起工作的那些类可以一起工作, 有些国家电压110v,而我国电压220v,笔记本电脑不是什么电压都能用的,所以有电源适配器这个东西, 系统的 阅读全文
摘要:
16.1 加班 又是加班! 16.2 工作状态 函数版 namespace 状态模式 { class Program { static int Hour = 0; static bool WorkFinished = false; static void Main(string[] args) { 阅读全文
摘要:
15.1 就不能换DB吗? 15.2 最基本的数据访问程序 namespace 抽象工厂模式 { class Program { static void Main(string[] args) { User user = new User(); SqlserverUser su = new Sqls 阅读全文