试题详情

在C#中,下列代码运行的结果是() class One { public virtual void Show() { Console.Write("One"); } } class Two : One{public override void Show(){ Console.Write("Two"); }} class Program {static void Main(string[] args) { One obj = new Two(); obj.Show(); } }

AOne

BOne Two

CTwo

DTwo One