This is lesson 4 of 11 in this module Course 22% complete

Reference Types

Premium Content

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

We define reference types as always pointing to heap memory regardless of where the variable itself lives, illustrate the memory layout for nested reference fields inside heap objects, and explain how stack versus heap placement controls the lifetime of data in a .NET application.