On 2005-08-30, crosser <kr*******@wp.pl> wrote:
I have class written in C# with elements:
1. Private variable: aaa
2. Protected overridable property AAA
the only differrence in names is case sensitivity.
Is it possible to shadow variable aaa in inherited class using Visual Basic
?
I can't find a solution because of Visual Basic case insensitivity...
I'm really missing something here, because I don't see where case
insensitivity has anything to do with this...
You can't shadow aaa because it's private. It's not accessible to the
child class.
You shouldn't have any problem overriding AAA. The private aaa variable
should be irrelevant. You can also shadow AAA without problems,
although I'd be dubious about doing that.
What's the problem you're having exactly? Are you sure aaa is private?