摘要:
重载与重写是C#面向对象的多态性的重要体现。如下面的示例:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication1{ public class A { public virtual void fun1() { Console.WriteLine("A.fun1"); } public void fun2(B test) { ... 阅读全文