Garbage Collection [An Introduction in .NET 5.0]

In this video, I am going to walk through the fundamentals of garbage collection in .NET Core/.NET 5 applications. The concepts are the same for all .NET Frameworks including the legacy .NET 4.* frameworks, but the internal implementation might be different. If you have worked on C or C++ before, you know how painful it is to manage memory and how error-prone it can be. Garbage collection features of managed frameworks like .NET make life extremely simple. In this video, I have misspoken a couple of times: At 05:10 I mentioned "three different classes", which should have been "three different objects" At 10:47 I mentioned "unmanaged method" which should have been "unmanaged objects" The URL for IDisposable design pattern video is:    • IDisposable Design Pattern (.Net Core)   The index for this video is as follows: 00:50 - What is garbage collection 01:44 - Garbage collector details 02:45 - Managed heap 04:00 - Generations of the managed heap 06:02 - The three generations of the managed heap 07:16 - Large object heap 08:20 - Details about how does garbage collection works My blog URL: https://dotnetcorecentral.com/ My GitHub repo: https://github.com/choudhurynirjhar