All my college years I have been using public
, and would like to know the difference between public
, private
, and protected
Yet another visual approach of the current access modifier (C# 7.2). Hopefully the schema helps to remember it easier
(click the image for interactive view.)
If you struggle to remember the two-worded access modifiers, remember outside-inside.