Protected vs Internal

Just a remind for myself ;)

  1. protected:

    [...] member is accessible from within the class in which it is declared, and from within any class derived from the class that declared this member.
    A protected member of a base class is accessible in a derived class only if the access takes place through the derived class type.

  2. internal

    Internal members are accessible only within files in the same assembly.

  3. protected internal means protected OR internal
  4. protected AND internal?
    read here What Does Protected Internal Mean?

source: Access Modifiers (MSDN)

Technorati tags: Protected, Internal
About these ads

Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: