Which statement is correct regarding Destructor (~ClassName) vs IDisposable.Dispose()?
Destructor is deterministic, Dispose is non-deterministic
Destructor is called by programmer, Dispose by GC
Destructor is non-deterministic, Dispose is deterministic
Both run at exact same time
This question is part of this quiz :
Memory Management & Garbage Collection Quiz