Function Overloading

Posted by Sanju on Stack Overflow See other posts from Stack Overflow or by Sanju
Published on 2010-04-16T07:48:47Z Indexed on 2010/04/16 7:53 UTC
Read the original article Hit count: 208

Filed under:
|
|

Let us suppose i have these three methods defined:

int F1(int, int);
int F1(float, float);
Float F1(int, int);

and i am calling method F1 here:

Console.writeline(F1(5,6).ToString()));

Which method it will call and why?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#