using System; public static class ClaseEstaticaDemo{ public static void Metodo() { // implementación }} public class ClasePrueba : ClaseEstaticaDemo{ // implementación}
Standard input is empty
prog.cs(11,14): error CS0709: `ClasePrueba': Cannot derive from static class `ClaseEstaticaDemo' prog.cs(3,21): (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!