using System; internal class A{ // Miembros de la clase A} public class B : A{ // Miembros de la clase B}
Standard input is empty
prog.cs(8,14): error CS0060: Inconsistent accessibility: base class `A' is less accessible than class `B' prog.cs(3,16): (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!