using System;
namespace Articulos.Cap04
{
internal delegate void AccionSobreString(string s);
internal class Aplicacion
{
public static void Main()
{
AccionSobreString ass = MetodoParamObject;
ass("Blog xCSw");
}
static void MetodoParamObject(object paramObject)
{
Console.WriteLine(paramObject);
}
}
}
dXNpbmcgU3lzdGVtOwoKbmFtZXNwYWNlIEFydGljdWxvcy5DYXAwNAp7CiAgICBpbnRlcm5hbCBkZWxlZ2F0ZSB2b2lkIEFjY2lvblNvYnJlU3RyaW5nKHN0cmluZyBzKTsKICAgIAogICAgaW50ZXJuYWwgY2xhc3MgQXBsaWNhY2lvbgogICAgewogICAgICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKICAgICAgICB7CiAgICAgICAgICAgIEFjY2lvblNvYnJlU3RyaW5nIGFzcyA9IE1ldG9kb1BhcmFtT2JqZWN0OwogICAgICAgICAgICAKICAgICAgICAgICAgYXNzKCJCbG9nIHhDU3ciKTsKICAgICAgICB9CiAgICAgICAgCiAgICAgICAgc3RhdGljIHZvaWQgTWV0b2RvUGFyYW1PYmplY3Qob2JqZWN0IHBhcmFtT2JqZWN0KQogICAgICAgIHsKICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUocGFyYW1PYmplY3QpOwogICAgICAgIH0KICAgIH0KfQ==