Quote:
|
I have read that 'internal' keyword is a replacement for 'friend' in C#.
|
That's correct. More like the analog than replacement.
Quote:
|
Will using a friend somehow make it possible to access or call these private methods?
|
Only if you replace the private modifier with internal. But then the methods will be exposed to any other code in the same assembly, as well as to the derived class.
Quote:
|
I have been told that if I have inherited from a base class, I should be able to access all the protected methods from the inheriting class.
|
That's correct.
Quote:
|
But does that also hold true for private methods?
|
No. Access to private methods in the base class will be linited to the base class. They won't be exposed to the derived class.