日期:2014-05-17 浏览次数:20975 次
class Program { static void Main(string[] args) { Child c = new Child(); Console.ReadKey(); } } public class Parent { public Parent() { Console.WriteLine("构造父类!"); } } public class Child : Parent { public Child() { Console.WriteLine("构造子类!"); } }