摘要:
请看下面代码:using System;public class A{ public A(){ M1(); } public virtual void M1(){}}public class B : A{ private string _method; public B(){ _method = "B_C"; } public override void M1(){ Console.WriteLine("Type:{0}, in B, {1}",GetType(), _method.ToUppe... 阅读全文