DevelopersTV

Stack vs Heap in C# - How They Work, What Goes Where, and the Exceptions

IAmTimCorey — Aug 31, 2026 — talk

Why watch

This video explains the fundamentals of stack and heap memory allocation in C#, clarifying that it's not simply value types vs reference types. Viewers learn about exceptions where value types are stored on the heap and how strings complicate the picture, enabling them to write more memory-efficient applications.