fork download
  1. using System;
  2.  
  3. namespace Articulos.Cap04
  4. {
  5. internal delegate void AccionSobreString(string s);
  6.  
  7. internal class Aplicacion
  8. {
  9. public static void Main()
  10. {
  11. AccionSobreString ass = MetodoParamObject;
  12.  
  13. ass("Blog xCSw");
  14. }
  15.  
  16. static void MetodoParamObject(object paramObject)
  17. {
  18. Console.WriteLine(paramObject);
  19. }
  20. }
  21. }
Success #stdin #stdout 0.02s 33864KB
stdin
Standard input is empty
stdout
Blog xCSw