How does stack and heap work in .net?

Posted by Hemanshu Bhojak on Stack Overflow See other posts from Stack Overflow or by Hemanshu Bhojak
Published on 2010-06-10T04:40:09Z Indexed on 2010/06/10 4:42 UTC
Read the original article Hit count: 411

Filed under:
|
|
|
|

Are the value types defined inside a reference type stored on the heap or on the stack?

  1. If stored on the heap, then when are value types stored on the stack?
  2. If stored on the stack, then what goes inside the heap as everything ends at a value type in the end?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about stack