Handling unmanaged resources with Dispose & Finalize
C#, Performance, Unmanaged, GC, SharpDX, Architectural pattern,
We all work in a managed world we do not control objects' lifetime do not worry about memory allocation (in most cases). We have GC and it does its work excellent. But the unmanaged word still exists and often we forced to interact with it. Let's talk a bit about unmanaged resources and managed approaches to acting with it.