Those are "properties" in the class. Effectively, they're like variables that are attached to the instance of the class as a whole, rather than being in a specific function. They can themselves be simple things like bool
or int
, or classes like List<string>
or MyOtherClass
.
Check out the official tutorial.