using System;
public class Calculadora
{
public double Suma (int a, int b)
{
return a + b;
}
public double Suma (double a, double b)
{
return a + b;
}
public static void Main()
{
Calculadora calc = new Calculadora();
Console.WriteLine ("Suma de enteros: 3 + 5 = {0}", calc.Suma(3, 5));
Console.WriteLine ("Suma de decimales (double): 3.5 + 5.3 = {0}", calc.Suma(3.5, 5.3));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIENhbGN1bGFkb3JhCnsKICAgIHB1YmxpYyBkb3VibGUgU3VtYSAoaW50IGEsIGludCBiKQogICAgewogICAgICAgIHJldHVybiBhICsgYjsKICAgIH0KICAgIAogICAgcHVibGljIGRvdWJsZSBTdW1hIChkb3VibGUgYSwgZG91YmxlIGIpCiAgICB7CiAgICAgICAgcmV0dXJuIGEgKyBiOwogICAgfQogICAgCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgTWFpbigpCiAgICB7CiAgICAJQ2FsY3VsYWRvcmEgY2FsYyA9IG5ldyBDYWxjdWxhZG9yYSgpOwogICAgCQogICAgCUNvbnNvbGUuV3JpdGVMaW5lICgiU3VtYSBkZSBlbnRlcm9zOiAzICsgNSA9IHswfSIsIGNhbGMuU3VtYSgzLCA1KSk7CiAgICAJQ29uc29sZS5Xcml0ZUxpbmUgKCJTdW1hIGRlIGRlY2ltYWxlcyAoZG91YmxlKTogMy41ICsgNS4zID0gezB9IiwgY2FsYy5TdW1hKDMuNSwgNS4zKSk7CiAgICB9Cn0=