O'Reilly logo
  • Kimberly Szozda thinks this is interesting:

Value types are stored on the stack, and reference types are stored on the managed heap. The stack — more specifically, the call stack — is an area of memory set aside for managing the execution of your program. You can visualize the stack as one memory address stacked on top of another. The heap, however, is a large pool of memory where objects that require longer life spans can live. (Longer life span means that the object needs to live beyond the execution of a single function on the call stack.)