请高手看一下,下面的语句有没有错误,若有请指出来。谢谢。大家都共同讨论下。共同提高。
class Outer
{
static void F(int i) {} static void F(string s) {} class Inner
{
void G() {
F(1);
F("Hello");
} static void F(long l) {}
}
}
class Outer
{
static void F(int i) {} static void F(string s) {} class Inner
{
void G() {
F(1);
F("Hello");
} static void F(long l) {}
}
}
Outer .F(1);
Outer .F("Hello");
}