自己写的测试 . 总结如下:无论子类是无参还是有参,都要继承父类的无参构造函数。且父类的无参构造函数不能省略。。 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication1 { public class A { public A() { Console.WriteLine("A()"); } public A(int i) { Console.WriteLine("A(i)" + i); } } public class B : A { public B() { Console.WriteLine("B()"); } public B(int i) { Console.WriteLine("B()" + i); } } public class Program { static void Main(string[] args) { //A a = new A(); B b = new B(); A a = new A(); A a1 = new A(4); Console.ReadLine(); } } }