G
Guest
i'm reading some books on memory mgmt in .Net framework. And here is my
understanding: The memory for each object in .Net comes from managed heap.
The GC is in charge of collecting unused memory and reclaiming memory
automatically.
My questions is for value type variable, is the memory still from managed
heap ?
and what happens if the value type variable is not in use, such as function
exits ?
Your explanation would be appreciated!
understanding: The memory for each object in .Net comes from managed heap.
The GC is in charge of collecting unused memory and reclaiming memory
automatically.
My questions is for value type variable, is the memory still from managed
heap ?
and what happens if the value type variable is not in use, such as function
exits ?
Your explanation would be appreciated!