Stack vs. Heap in .NET

dotnet-practitioner picture dotnet-practitioner · Oct 13, 2009 · Viewed 8.3k times · Source

In your actual programming experience, how did this knowledge of STACK and HEAP actually rescue you in real life? Any story from the trenches? Or is this concept good for filling up programming books and good for theory?

Answer

leppie picture leppie · Oct 13, 2009

The distinction in .NET between the semantics of reference types and value types, is a much more important concept to grasp.

Personally, I have never bothered thinking about the stack or heap in all my years of coding (just CLR based).