G
Guest
Im reading C# specification, an it says that members of class B include all members declared in class B plus all members from its base class (call it class A) REGARDLESS of their accessibility level, meaning 'private int count' (declared in A) would be inherited in B (but would not be accessible, because it is private)
What is the purpose of this inheritance without accessibility? Why cant we just say it is not inherited? What can we do, in class B, with those members inherited from class A that are inaccessible in class B? In other words, what difference would it make if it were not inherited as opposed to having it inherited
Just curious ..
Regards All,
What is the purpose of this inheritance without accessibility? Why cant we just say it is not inherited? What can we do, in class B, with those members inherited from class A that are inaccessible in class B? In other words, what difference would it make if it were not inherited as opposed to having it inherited
Just curious ..
Regards All,