Skip to content

Glossary: C# Basics

Field

Also written: fields

A plain variable held inside a class, such as `private int visits;`. Fields are usually private, with properties used for what outside code needs.

Where the book teaches it

Related terms

Propertypublic, privateClass