Classes
A class is a set of instructions that dictates how a specific instance of an object behaves, including how it can be created and what it can do. A class is, in a sense, a recipe.
In the case of this book, a class might include details of authoring, editorial processes, and publication steps. These steps are, hopefully, invisible to anyone reading this book; they are part of the internal implementation of the class. Following these steps will produce an instance of the PowerShellBook
object.
Once a class has been compiled, it is used as a type. The members of the class are used to interact with the object. Members are explored later in this chapter.
Classes (and types) are arranged and categorized into namespaces.