There are two types of memories present in .NET as listed below:
Stack: Used for static memory allocation
Heap: Used for dynamic memory allocation