We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
C# Heap vs Stack explained
Summary
Description
Explaining Heap and Stack differences in C#.
Reference Types vs Value Types - where variable lives affect how code behaves.
Exploring real-life examples of variable type differences.
Explaining ref and out keywords.
Chapters:
00:00 Intro
00:33 How does C# manage memory
02:02 Value Type vs Reference Type
02:24 Code Demo I
04:13 Passing different variables to methods
05:00 Code Demo II
06:06 Ref keyword explained
08:46 Out keyword explained
10:16 Wrap up
Translated At: 2025-03-03T17:27:16Z