Calling data types foundational structures may seem like a bit of a misnomer, but not when you consider that developers use data types to build their classes and collections. So, before we examine proper data structures, it's a good idea to quickly review data types, as these are the foundation of what comes next. This chapter is meant to review the most common and most important fundamental data types from the 10,000-foot view. If you already have a strong grasp of these basic concepts, feel free to skim through this chapter or even skip it entirely as you see fit.
In this chapter, we will cover the following topics:
Numeric data types
Casting, Narrowing, and Widening
32-bit and 64-bit architecture concerns
Boolean data types
Logic operations
Order of operations
Nesting operations
Short-circuiting
String data types
Mutability of strings