The best way to understand memory usage is to take a "snapshot" of all C# objects in memory at a given time. The dotnet-gcdump tool is one way you can do this for programs running on the CoreCLR ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results