using System; public static class ClaseEstaticaDemo { public void Metodo() { // implementación } }
Standard input is empty
prog.cs(5,21): error CS0708: `ClaseEstaticaDemo.Metodo()': cannot declare instance members in a static class Compilation failed: 1 error(s), 0 warnings
Standard output is empty