Hi all,
If I have the following methods:
public void foo(object o)
{
}
public void foo(string s)
{
}
public void foo(array a)
{
}
And I call:
foo(null);
I should (and do) get an ambiguous call error.
But if I comment out the foo(string) or foo(array)
then I do not get the error and it just goes to the not foo(object) one
(ie foo(array)).
Why is this?
JB