using System;
namespace Articulos.Ch03
{
public class CasoSimple2Sobrecarga
{
public static void Metodo (int x)
{
Console.WriteLine ("Metodo(int x)");
}
public static void Metodo (double y)
{
Console.WriteLine ("Metodo(double y)");
}
public static void Main ()
{
Metodo (13);
}
}
}
dXNpbmcgU3lzdGVtOwoKbmFtZXNwYWNlIEFydGljdWxvcy5DaDAzCnsKCXB1YmxpYyBjbGFzcyBDYXNvU2ltcGxlMlNvYnJlY2FyZ2EKCXsKCQlwdWJsaWMgc3RhdGljIHZvaWQgTWV0b2RvIChpbnQgeCkKCQl7CgkJCUNvbnNvbGUuV3JpdGVMaW5lICgiTWV0b2RvKGludCB4KSIpOwoJCX0KCQkKCQlwdWJsaWMgc3RhdGljIHZvaWQgTWV0b2RvIChkb3VibGUgeSkKCQl7CgkJCUNvbnNvbGUuV3JpdGVMaW5lICgiTWV0b2RvKGRvdWJsZSB5KSIpOwoJCX0KCQkKCQlwdWJsaWMgc3RhdGljIHZvaWQgTWFpbiAoKQoJCXsKCQkJTWV0b2RvICgxMyk7CgkJfQoJfQp9