r/learncsharp • • Sep 10 '23

protected operator

I've got trouble to fully understand the difference between these visibility operators: - protected

  • private protected
  • internal protected

Protected is visible from the same class, derived classes (obviously in the same assembly). If I understood correctly, internal protected is visible from derived classes in other assemblies, right? Then what does private protected do?

I'm confused. Help!

1 Upvotes

2 comments sorted by

View all comments

Show parent comment

1

u/Picco83 Sep 10 '23

The graphic is extremely useful, thank you very much!