G
Guest
Hello,
given 3 classes a, b and c, all derived from each other
class a{
protected void method()
{
//do something
}
}
class b : a{
protected void override method()
{
//do something
}
}
class c : b{
protected void override method()
{
//Is it possible to bypass the implementation in b?
// base.method() // will call b.method()
// a.method() // compiler won't allow
}
}
tnx for any help
given 3 classes a, b and c, all derived from each other
class a{
protected void method()
{
//do something
}
}
class b : a{
protected void override method()
{
//do something
}
}
class c : b{
protected void override method()
{
//Is it possible to bypass the implementation in b?
// base.method() // will call b.method()
// a.method() // compiler won't allow
}
}
tnx for any help