HI,
why the compiler consdier the arguments of method while calling overloaded function and not function return type.
thanks in advance............
He's asking why that is the case, not for the fact that it is.
I think it is just that determining which to call is a good bit more difficult if the return type were considered than just the argument lists.
Hope this helps.