Content Archived

This content is no longer current. Our recommendation for up to date content:

Understanding Scope and Utilizing Accessibility Modifiers - 18

Sign in to queue


This lesson begins by discussing the scope of variables within code blocks, and progresses to explain how accessibility modifiers such as Public, Private, and Protected are used by the .NET Framework Class Library to expose or hide implementation of their given services to consumers of that given class. This is sometimes referred to as "encapsulation."

Download the source code for Understanding Scope...


C#, Visual Studio



The Discussion

Add Your 2 Cents