Hello :)
Here is my current layout: (the question is the comment)
class A
{
int foo;
}
class B : A {}
class C : B
{
void bar()
{
//I want to access foo
base.foo; // Doesn't work
base.base.foo // Doesn't work, of course
}
}
As you can see, I cannot access members of A
by using base
in C. How could I access it? Thanks :)