How Can BaseClass Private function be Accessible into DerivedClass in C#?
Either:
private
to protected
Of the 4, I would chose 1 if it's a private property or method, and 2 if it's a private field. I would add a protected property around the field.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With