【简答题】写出程序的输出结果: public class A { public virtual void Fun1(int i) { Console.WriteLine(i) } public void Fun2(A a) { a.Fun1(1) Fun1(5) } } public class B : A { public override void Fun1(int i) { base.Fun1 (i ...
【简答题】写出程序的输出结果 public abstract class A { public A() { Console.WriteLine('A') } public virtual void Fun() { Console.WriteLine('A.Fun()') } } public class B: A { public B() { Console.WriteLine('B') } public ...