I am having problems accessing the attributes/functions of a class inside other classes.

I will try to explain my structure as easy as possible and I have simplified it to focus on what is giving me all the problems:

Class A contains a collection (ACol) which consists of objects of the B class

Class B has a public attribute of type string called Name

Class C contains a sub

...