摘要:
输出结果是 A a = new A(); B b = new B(); a.Fun2(b); 将子类B的实例b作为参数传递给父类A的引用a1。Fun2的this是父类的实例a a1.Fun1(1); 输出2 因为父类的变量a1里实际存储的是子类的实例b,所以这里调用的是子类Fun1 Fun1(5); 阅读全文
摘要:
如果把B类中的new改为override的话 输出结果就为 A B B.Fun() 取自http://www.cnblogs.com/jiekzou/p/4457384.html 解答:[http://bbs.csdn.net/topics/390099393] C#中,如果子类没有显示调用父类的有 阅读全文
摘要:
2009年04月28日Top 10 steps to optimize data access in SQL Server: Part I (use indexing)2009年06月01日Top 10 steps to optimize data access in SQL Server: Par... 阅读全文
摘要:
How I explained OOD to my wife 2010-08-02 Introduction My wife Farhana wants to resume her career as a software developer (she started her career as a 阅读全文