Posted On: Feb 22, 2018
There are two types of memory in .NET which are heap and stack memory. Heap memory is used for dynamic allocation of memory. When a program is created, heap memory space only stores them. Stack memory is more sequential and is used for static memory storage. Therefore it is easy to access this part of memory quickly. The reference to the codes stored by heap memory is stored in the stack and is used during execution.
Never Miss an Articles from us.