O
ORC
Hi,
I have a class A defined in class B. Class A is private because I don't want
object that makes an instance of class B to be able to see the class A
definition. Instead I want to declare an instance of class A in Class B that
is public so that the object that creates the instance of class B will be
able to call methods in class A throght the class B.
In the object Intellisense shows everything correct but I get an compiler
error saying: "Inconsistant accessibility.."
Any idea how to do this the right way?
Thanks
Ole
I have a class A defined in class B. Class A is private because I don't want
object that makes an instance of class B to be able to see the class A
definition. Instead I want to declare an instance of class A in Class B that
is public so that the object that creates the instance of class B will be
able to call methods in class A throght the class B.
In the object Intellisense shows everything correct but I get an compiler
error saying: "Inconsistant accessibility.."
Any idea how to do this the right way?
Thanks
Ole