Skip to content

Glossary: C# Basics

public, private

Also written: public, private

Access keywords. `public` members can be used from anywhere, while `private` ones only inside their own class, which protects data from mistakes elsewhere.

Where the book teaches it

Related terms

ClassFieldProperty