In this chapter:
All Types Are Derived from
Casting Between Types 93
Namespaces and Assemblies 97
How Things Relate at Runtime 102
In this chapter, I will introduce information that is fundamental to working with types and the common language runtime (CLR). In particular, I'll discuss the minimum set of behaviors that you can expect every type to have. I'll also describe type safety, namespaces, assemblies, and the various ways you can cast objects from one type to another. Finally, I'll conclude this chapter with an explanation of how types, objects, thread stacks, and the managed heap all relate to one another at runtime.
The runtime requires every type ...