.NET Memory Expert

The comprehensive learning program

.NET Framework & .NET Core & .NET 5 | Windows & Linux | cloud & on-premise

Everything you need to know about the GC and memory in .NET

Every week we will send you a fresh dose of knowledge about memory-aware programming. Only spicy facts!🌶️ I'm joining the program!
Do you...?
... know whether your C# code is memory efficient? Could you make your application faster and cheaper to host? How to write efficient code, taking into account Garbage Collector's various caveats that you may not even know about?
... have time to follow all the news about upcoming features and tools related to the .NET GC and memory-aware APIs?
32 sample questions to test your knowledge about memory management in C#/.NET. Don't worry, there are no dumb questions here about number of generations! And yes... these questions are just the tip of the iceberg on this topic...😇

What is this program for?

  • Learn coding good/bad patterns and memory-aware code
  • Learn how to monitor and troubleshoot memory related problems
  • Explore various aspects of advanced memory management (yes, Span<T> and ref included)
  • Map between the GC theory and code


Troubleshooting .NET GC Issues
.NET GC Internals


One picture is worth a thousand words. Please find some .NET memory-related graphics!
.NET memory - memory layout
.NET memory - GC modes and phases

Interested in knowing more?

Subscribe to the .NET Memory Expert mailing list to start receiving:

  • in-depth answers to the quiz questions
  • practical C# tips & tricks about writing memory-aware code
  • articles, infographics and videos about .NET memory management
  • updates about incoming .NET Memory Expert course!

    We won't send you spam. Unsubscribe at any time.

    About the autor

    Konrad Kokosa

    Author of Pro .NET Memory Management book (⭐⭐⭐⭐⭐ rating on Amazon). Programming for over a dozen years, solving performance problems and architectural puzzles in the .NET world, speeding up web applications. Independent consultant, blogger, speaker and fan of Twitter. He also shares his passion as a trainer in the area of .NET, especially about application performance, memory and diagnostics. Microsoft MVP in the Visual Studio and Development Tools category. Co-founder of a great Dotnetos initiative sharing knowledge and providing premium .NET content.

    Spread a word about this initiative!

    and follow us on social media❤