using System;
namespace Articulos.Ch03
{
public class CasoSimpleSobrecarga
{
static void Metodo (int x)
{
Console.WriteLine ("Metodo(int x)");
}
static void Metodo (string y)
{
Console.WriteLine ("Metodo(string y)");
}
public static void Main ()
{
Metodo ("OrtizOL");
}
}
}
dXNpbmcgU3lzdGVtOwoKbmFtZXNwYWNlIEFydGljdWxvcy5DaDAzCnsKCXB1YmxpYyBjbGFzcyBDYXNvU2ltcGxlU29icmVjYXJnYQoJewoJCXN0YXRpYyB2b2lkIE1ldG9kbyAoaW50IHgpCgkJewoJCQlDb25zb2xlLldyaXRlTGluZSAoIk1ldG9kbyhpbnQgeCkiKTsKCQl9CgkJCgkJc3RhdGljIHZvaWQgTWV0b2RvIChzdHJpbmcgeSkKCQl7CgkJCUNvbnNvbGUuV3JpdGVMaW5lICgiTWV0b2RvKHN0cmluZyB5KSIpOwoJCX0KCQkKCQlwdWJsaWMgc3RhdGljIHZvaWQgTWFpbiAoKQoJCXsKCQkJTWV0b2RvICgiT3J0aXpPTCIpOwoJCX0KCX0KfQ==