DEV Community

Discussion on: January 13th, 2022: What did you learn this week?

Collapse
 
mrsharm profile image
Mukund Raghav Sharma (Moko)
  • Created a console app creating a Garbage Collection report in C# diving into GLAD.
  • Learnt that while doing online demos, your client might crash unrelated to anything you could have done. Accept it, move on.
  • Refreshed my C knowledge:
    • Double pointers
    • Malloc / Free
    • Pointer arithmetic
  • Learnt about the new C#9 feature

    {get; init;}

    from here.

  • What is Pinning in .NET from here.
  • You can get the Number of Heaps from the Microsoft-Windows-DotNETRuntime/GC/GlobalHeapHistory event under NumHeaps.