This is lesson 2 of 11 in this module Course 18% complete

Value Types (part 2)

Premium Content

Sign in with your account or join us to access this lesson.

We present the precise definition of value types as stored inline rather than behind a pointer, demonstrate with an integer array how inline storage reduces garbage collection to a single operation regardless of array size, and compare the performance trade-offs of structs versus classes.