using System;
class Example
{
public int func(int k)
{
k = 20;
return k;
}
public Single func(float t)
{
t = 3.4f;
return t;
}
}
class Program
{
static void Main(string[] args)
{
Example obj = new Example();
int i;
i = obj.func(30);
Console.WriteLine(i);
Single j;
j = obj.func(2.5f);
Console.WriteLine(j);
Console.ReadLine();
}
}
dXNpbmcgU3lzdGVtOwogICAgY2xhc3MgRXhhbXBsZQogICAgIHsKICAgICAgICAgcHVibGljIGludCBmdW5jKGludCBrKQogICAgICAgICB7CiAgICAgICAgICAgICBrID0gMjA7CiAgICAgICAgICAgICByZXR1cm4gazsKICAgICAgICAgfQogICAgICAgICBwdWJsaWMgU2luZ2xlIGZ1bmMoZmxvYXQgdCkKICAgICAgICAgewogICAgICAgICAgICAgdCA9IDMuNGY7CiAgICAgICAgICAgICByZXR1cm4gdDsKICAgICAgICAgfQogICAgIH0gIAogICAgIGNsYXNzIFByb2dyYW0KICAgICB7CiAgICAgICAgIHN0YXRpYyB2b2lkIE1haW4oc3RyaW5nW10gYXJncykKICAgICAgICAgewogICAgICAgICAgICAgRXhhbXBsZSBvYmogPSBuZXcgRXhhbXBsZSgpOwogICAgICAgICAgICAgaW50IGk7CiAgICAgICAgICAgICBpID0gb2JqLmZ1bmMoMzApOwogICAgICAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoaSk7CiAgICAgICAgICAgICBTaW5nbGUgajsKICAgICAgICAgICAgIGogPSBvYmouZnVuYygyLjVmKTsKICAgICAgICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKGopOwogICAgICAgICAgICAgQ29uc29sZS5SZWFkTGluZSgpOwogICAgICAgICB9CiAgICAgfQo=