摘要: 请猜测下列程序输出:using System;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 new void Fun() { Console.WriteLine("B.Fun()"); } p 阅读全文
posted @ 2011-09-23 18:57 羽化成蝶 阅读(149) 评论(0) 推荐(0) 编辑