fork download
  1. using System;
  2. using static System.Console;
  3.  
  4. public class Program {
  5. public static void Main() {
  6. var x = new Exemplo();
  7. x.handler("http://d...content-available-to-author-only...o.br/pagina.html");
  8. x.handler = Write;
  9. x.handler("http://d...content-available-to-author-only...o.br/pagina.html");
  10. Write("Fim");
  11. }
  12. class Exemplo {
  13. public Action<string> handler = WriteLine;
  14. }
  15. }
  16.  
  17. //https://pt.stackoverflow.com/q/101238/101
Success #stdin #stdout 0.02s 15976KB
stdin
Standard input is empty
stdout
http://d...content-available-to-author-only...o.br/pagina.html
http://d...content-available-to-author-only...o.br/pagina.htmlFim