Enter PublicClass::ClassParamReturnClass
this = 0x6f97e190 (8)
ClassType obj = 0x6f97e488 (8)
| int32 <IntProperty>k__BackingField = 84
| int32 intField = 42
| String stringField = 43
ClassType obj = 0x0000023A475BBAD8
Leave PublicClass::ClassParamReturnClass
| int32 <IntProperty>k__BackingField = 170
| int32 intField = 85
| String stringField = 86
returns 0x0000023A475BBBB0…

Photo by Nana Smirnova on Unsplash

Photo by Clark Van Der Beken on Unsplash

Finalizer and IDisposable usage

Photo by AbsolutVision on Unsplash



Let’s see the result of profiling in Visual Studio

  1. Get a sampling of .NET application allocations
  2. A simple way to get the call stack
  3. Getting the call stack by hand

Thanks you Mr Windows Kernel!

What is a dotnet-dump command?


Photo by EJ Yao on Unsplash


Christophe Nasarre

Loves to understand how things work (MVP Developer Technologies)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store