Chapter 52. Structs, Random Points, and Sleeping Threads
In this chapter, you are going to learn about structs
, which are typically used to represent simple composite objects, such as a point, where you basically have x
and y
coordinates. The idea behind structs
is that these are value types, not reference types.
Alright, ready to get started?