Design a site like this with WordPress.com
Get started

Day 70: Private & Protected

Today I learned more about the  protected keyword and how it allows only those in its class or a derived class to access the member.

Meanwhile, the private access modifier can only be accessed within the class it was declared in.

I’ve read about them before in a different C# tutorial, but I guess sometimes it takes me multiple reads from various sources using different examples for it to finally ‘click.’

Current Progress Status

  • Tower Defense Tutorial: 65/73
  • The Art of Game Design by Jesse Schell (pg 201/518)
  • C# The Yellow Book (pg 100/216)

Onward!

Advertisement
%d bloggers like this: