Reference types live on the heap, value types live on the stack

https://docs.microsoft.com/en-us/archive/blogs/ericlippert/the-stack-is-an-implementation-detail-part-one

The whole “reference types on the heap, value types on the stack” is not only a bad way to look at it, but it’s wrong too.

Leave a Comment