Vikas Kumarvikas02k02.hashnode.dev·Feb 4, 2024Stack and Heap Memory in .NETWhat Happens Internally When We Declare a Variable in a .NET Application? When we declare a variable in a .NET application, it allocates some memory in the RAM. The memory that it allocates in RAM has three things are as follows: Name of the Variabl...8 likes·186 reads.NETAdd a thoughtful commentNo comments yetBe the first to start the conversation.