I have aquestion about objects and their ability to call a method from parent and child classes.
Base class has a method(). In the main, I have objectFromBaseClass and objectFromChildClass. Can both objects have access to method() from the base class?
I am trying to grasp the idea.
As long as method() is not declared as private, yes. If method(), as you have defined, is declared private, then only the base class can access it . If method is declared protected, then the base class and all derived class can access it. If method is declared internal, then it can be accessed within the same Assembly(dll). If method is declared public, then it can be accessed everywhere.