C# Tutorial for Beginners #21 - Access Modifiers
Learning about the private and public access modifiers and the object oriented programming concept encapsulation, as well as going through brief explanations of protected, internal, protected internal, and private protected.
If you decide to skip the last few access modifiers, don't miss the Default Access Modifiers portion at 19:47, it's important stuff!
Please let me know if you have any questions. Happy coding!
Chapters:
0:00 Introduction
0:37 Setup
1:51 What is an Access Modifier?
2:20 Encapsulation
3:45 public Access Modifier
4:40 private Access Modifier
8:43 this Keyword
15:49 protected Access Modifier
17:02 internal Access Modifier
18:07 protected internal Access Modifier
19:03 private protected Access Modifier
19:47 Default Access Modifiers
20:32 Wrap Up
