The question of when to use a struct or a class is a difficult one.
The answer involves understanding the differences between value types and reference types.
We discuss the nuances of each in Chapter 18 and provide guidance on when to use them.
With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.