I'm using SafeHandles in my code and noticed they have Close and Dispose methods.
This got me wondering whether or not SafeHandles were handled by the garbage collector and disposed of after use.
For example if I got a handle like this, would I need to call the .Dispose or .Close method after I was finished using it.
var process Process.GetProcessesByName("notepad")[0];
var handle = process.SafeHandle;