A
Ayende Rahien
Alvin Bruney said:How does it heavily complicate a lanaguage that already supports
overloading.
You are the compiler, given this scenario, which will you choose?
methods:
object Test();
string Test();
int Test();
Derived Test();
code calling method:
Test();
string Testing = Test();
Base Testin2 = Test();
How do you choose? How do you avoid complications when you *don't* do it.
IE, force to do something like this:
(string)Test();
when you've only one type of Test() method.
Compilers have enough problems with ambiguity on those things:
void Test(int);
void Test(long);
Test(1);//??? Which do you call ???
Dont be stupid. Tard
Don't be rude, either.