Invalid types in C # - heap or stack?

Possible duplicate:
Where are types with a null value stored in memory?

A very simple question about Nullable types - where are values ​​with a null value stored - heap or stack?

I believe that it should be stored in Stack, since the Nullable stack is a structure. How is the null value stored on the stack?

+3
source share

Source: https://habr.com/ru/post/1766930/


All Articles