fork download
  1. using System;
  2.  
  3. namespace Articulos.Cap03
  4. {
  5. // Esta declaración no está permitida.
  6. // Generá el error CS0644:
  7. internal class HerenciaDelegate : System.Delegate
  8. {
  9. // Implementación
  10. }
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(7,24): error CS0644: `Articulos.Cap03.HerenciaDelegate' cannot derive from special class `System.Delegate'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty